Thank You 2020: Difference between revisions
Content deleted Content added
Seddon (WMF) (talk | contribs) No edit summary |
Seddon (WMF) (talk | contribs) No edit summary |
||
(28 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 469:
padding: .5rem 0 2rem;
text-align: center;
max-width:
}
Line 475:
.page-intro {
padding:1.5rem;
margin-top:0;
}
}
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 943 ⟶ 948:
<div class="page-intro">
<p>2019 flew by so fast. New elections. Natural catastrophes. The Women's World Cup. It was a year that didn’t stop giving us something new to wake up to and learn about.</p><br/><p>We made a video highlighting some of the events that became part of Wikipedia this year as small thank you to readers, editors, and donors. You’ve helped to propel us into the future and given knowledge a home on the internet: Wikipedia.
</p>
</div>
Line 1,128 ⟶ 1,132:
var testVideo = document.createElement('video');
var vidFrame;
if ( testVideo.canPlayType('video/webm; codecs="vp8, vorbis"') === 'probably' ) {
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').after('<div 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>. </div>');
}
}
</script>
<script>
</script>
</body></html>
|