-
Notifications
You must be signed in to change notification settings - Fork 1
/
media_rum.tpl
33 lines (33 loc) · 1.84 KB
/
media_rum.tpl
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
<txp:hide>rumble</txp:hide>
<txp:if_yield name="media">
<txp:oui_cookie name='<txp:variable name="sitename" />_rumble' duration='<txp:variable name="cookielife" />' values="yes" />
<txp:oui_if_cookie name='<txp:variable name="sitename" />_rumble'>
<div class="embed-container" id="m_<txp:yield name="media" />" itemscope itemtype="http://schema.org/VideoObject">
<iframe loading="lazy" class="rumble" width="640" height="360" src="https://rumble.com/embed/<txp:yield name="media" />/?pub=4" frameborder="0" 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="img">
<txp:variable name="img" />
</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 Rumble on <a rel="external noopener" href="https://rumble.com/embed/<txp:yield name="media" />/?pub=4">rumble.com/embed/<txp:yield name="media" />/?pub=4</a>.</p>
<p class="licence"><a rel="external noopener licence" href="https://rumble.com/s/privacy">Rumble’s privacy policy</a>.</p>
<p class="accept"><a rel="nofollow noindex noodp noydir noarchive nocache" href="?<txp:variable name="sitename" />_rumble=yes#m_<txp:yield name="media" />">View it here</a></p>
</div>
</txp:oui_if_cookie>
</txp:if_yield>