Difference between revisions 85590 and 85591 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; padding: 35px 0 20px 0; } div#thank-you-video div.iframe-content { background: #ccc; height: 390px;⏎ margin: 0 0 0 80px; width: 640px; } div#thank-you-video p { color: #fff; display: block; font-size: 13px; line-height: 18px; (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('6400'); var playerH = playerW * 0.5625; //aspect ratio $("#video2012div#thank-you-video div.iframe-content ing").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=85591.
![]() ![]() 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.
|