Difference between revisions 85588 and 85589 on foundationwiki<html> <style type="text/css"> h1#firstHeading { display: none; } div#thank-you-video { background: #252525; margin: -2.8em -1.9em 0 -1.8em; (contracted; show full) </ul> <a href="http://en.wikipedia.org/wiki/Special:UserLogin/signup" title="Get Started">Get Started</a> </div> </div> <script type="text/javascript"> mw.setConfig( 'EmbedPlayer.RewriteSelector', null ); //$("div.commons-video").css('display', 'none'); var playerW = parseInt('400'); var playerH = playerW * 0.5625; //aspect ratio $("#video2012").click(function () { $(this).replaceWith( $("<iframe></iframe>", { id : "youtube-video", width : playerW, height : playerH, frameborder : 0, allowfullscreen : "1", src : "https://www.youtube-nocookie.com/embed/" + "3Knv6D6Thi0" + "?rel=0&autoplay=1&origin=https://donate.wikimedia.org" }) ); }); $("a#showcommonsvideo").click(function(event){ event.preventDefault(); $("div.thumbinner").css('display', 'none'); $("div.commons-video").css('display', 'block'); $('#mwe_player_0').embedPlayer(function(){ // play the video once ready: $('#mwe_player_0')[0].play(); }); }); </script>⏎ </html> All content in the above text box is licensed under the Creative Commons Attribution-ShareAlike license Version 4 and was originally sourced from https://foundation.wikimedia.org/w/index.php?diff=prev&oldid=85589.
![]() ![]() This site is not affiliated with or endorsed in any way by the Wikimedia Foundation or any of its affiliates. In fact, we fucking despise them.
|