-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathmedia_pt.tpl
More file actions
37 lines (37 loc) · 2.36 KB
/
Copy pathmedia_pt.tpl
File metadata and controls
37 lines (37 loc) · 2.36 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
<txp:hide>Playtube</txp:hide>
<txp:if_yield name="media">
<txp:oui_cookie name='<txp:variable name="sitename" />_playtube' duration='<txp:variable name="cookielife" />' values="yes" />
<txp:oui_if_cookie name='<txp:variable name="sitename" />_playtube'>
<div class="embed-container" id="m_<txp:yield name="media" />" itemscope itemtype="http://schema.org/VideoObject">
<iframe loading="lazy" width="600px" height="370px" src="https://playtube.pk/embed/<txp:yield name="media" />" scrolling="NO" frameborder="0" style="overflow:hidden; border: 0px;" webkitallowfullscreen mozallowfullscreen allowfullscreen ></iframe>
</div>
<txp:if_logged_in>
<txp:if_yield name="title" not>
<txp:oui_if_cookie name='<txp:variable name="sitename" />_hide' not>
<div class="gdpr">
<txp:variable name="title" />
<p class="accept"><a rel="nofollow noindex noodp noydir noarchive nocache" href="?<txp:variable name="sitename" />_hide=yes">Hide warnings for 30 minutes</a></p>
</div>
</txp:oui_if_cookie>
</txp:if_yield>
</txp:if_logged_in>
<txp:else />
<div class="gdpr">
<txp:if_yield name="0" not>
<txp:if_yield name="img">
<txp:variable name="img" />
<txp:else />
<img loading="lazy" src="https://i3.ytimg.com/vi/<txp:yield name="media" />/hqdefault.jpg" srcset="https://i3.ytimg.com/vi/<txp:yield name="media" />/hqdefault.jpg 480w, https://i3.ytimg.com/vi/<txp:yield name="media" />/maxresdefault.jpg 1280w" alt="<txp:yield name="title" escape="textile, tags" default="External video still" />" itemscope itemtype="http://schema.org/ImageObject" />
</txp:if_yield>
</txp:if_yield>
<txp:if_yield name="title">
<txp:yield name="title" escape="textile" />
<txp:else />
<txp:if_logged_in><txp:variable name="title" /></txp:if_logged_in>
</txp:if_yield>
<p>Hosted by Playtube on <a rel="external noopener" href="https://playtube.com/<txp:yield name="media" />">playtube.com/<txp:yield name="media" /></a>.</p>
<p class="licence"><a rel="external noopener licence" href="https://playtube.pk/privacy">Playtube’s privacy policy</a>.</p>
<p class="accept"><a rel="nofollow noindex noodp noydir noarchive nocache" href="?<txp:variable name="sitename" />_playtube=yes#m_<txp:yield name="media" />">View it here</a></p>
</div>
</txp:oui_if_cookie>
</txp:if_yield>