Thank You 2020: Difference between revisions
Content deleted Content added
Seddon (WMF) (talk | contribs) No edit summary |
Seddon (WMF) (talk | contribs) No edit summary |
||
(7 intermediate revisions by the same user not shown) | |||
Line 1:
<html><meta name="viewport" content="width=device-width, initial-scale=1"></html><!-- hack: meta tag should really be in
<html><body>
<style>
Line 925:
}
.frb-inline-disclaimer {
width:100%;
padding: 4px;
text-align: center;
font-size: 12px;
}
</style>
<a class="skip-link screen-reader-text" href="#content">Skip to content</a>
Line 1,131 ⟶ 1,136:
vidFrame = '<iframe src="https://commons.wikimedia.org/wiki/File:Wikipedia_-_Edit_2019.webm?embedplayer=yes" webkitallowfullscreen="" mozallowfullscreen="" allowfullscreen="" frameborder="0"></iframe>';
} else {
vidFrame = '<iframe width="560" height="315" src="https://www.youtube-nocookie.com/embed/
}
$('.video-container').html( vidFrame );
if ( testVideo.canPlayType('video/webm; codecs="vp8, vorbis"') !== 'probably' ) {▼
$('.video-container').
}▼
}
</script>
<script>
▲ if ( testVideo.canPlayType('video/webm; codecs="vp8, vorbis"') !== 'probably' ) {
▲ $('.video-container').insertAfter('<span class="frb-inline-disclaimer"> This stream is hosted by YouTube, LLC, a third-party service; please see their <a class="cta" href="https://policies.google.com/privacy" title=" privacy policy" target="_blank">privacy policy</a> and <a class="cta" href="https://policies.google.com/terms" title="Terms of Service" target="_blank">terms of service</a>. </span>');
▲ }
</script>
</body></html>
|