Thank You 2020: Difference between revisions

From Donate
Jump to navigation Jump to search
Content deleted Content added
Seddon (WMF) (talk | contribs)
No edit summary
Seddon (WMF) (talk | contribs)
No edit summary
 
(27 intermediate revisions by the same user not shown)
Line 1: Line 1:
<html><meta name="viewport" content="width=device-width, initial-scale=1"></html><!-- hack: meta tag should really be in the <head> but can't do that -->
<html><meta name="viewport" content="width=device-width, initial-scale=1"></html><!-- hack: meta tag should really be in <head> but can't do that -->
<html><body>
<html><body>
<style>
<style>
Line 475: Line 475:
.page-intro {
.page-intro {
padding:1.5rem;
padding:1.5rem;
margin:0;
margin-top:0;
}
}
}
}
Line 925: Line 925:
}
}


.frb-inline-disclaimer {

width:100%;
padding: 4px;
text-align: center;
font-size: 12px;
}
</style>
</style>
<a class="skip-link screen-reader-text" href="#content">Skip to content</a>
<a class="skip-link screen-reader-text" href="#content">Skip to content</a>
Line 943: Line 948:
<div class="page-intro">
<div class="page-intro">
<p>2019 flew by so fast. New elections. Natural catastrophes. The Women's World Cup. 2019 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>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>
</p>
Line 1,127: Line 1,132:
var testVideo = document.createElement('video');
var testVideo = document.createElement('video');
var vidFrame;
var vidFrame;

if ( testVideo.canPlayType('video/webm; codecs="vp8, vorbis"') === 'probably' ) {
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>';
vidFrame = '<iframe src="https://commons.wikimedia.org/wiki/File:Wikipedia_-_Edit_2019.webm?embedplayer=yes" webkitallowfullscreen="" mozallowfullscreen="" allowfullscreen="" frameborder="0"></iframe>';
} else {
} else {
vidFrame = '<iframe width="560" height="315" src="https://www.youtube-nocookie.com/embed/Rm1LKcHD1VE" allowfullscreen="" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture"></iframe>';
vidFrame = '<iframe width="560" height="315" src="https://www.youtube-nocookie.com/embed/y2R3WlVpNio" allowfullscreen="" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture"></iframe>';
}
}
$('.video-container').html( vidFrame );
$('.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>
</script>
</body></html>
</body></html>

Latest revision as of 14:54, 18 January 2020

See how imagination becomes reality

Check out the imagination-fueling winners from the international Wiki Loves Earth photography competition

Check it out

Get instant access to knowledge

Get the Wikipedia app today for the quickest way to check a fact and get answers to your questions. It’s free and ad-free.