Difference between revisions 85630 and 85634 on foundationwiki<html> <style type="text/css"> h1#firstHeading { display: none; } div#thank-you-content div#thank-you-video { border: 1px solid #aaa; margin: 0 0 30px 0; (contracted; show full) <li class="right"> <a href="" title=""> <img src="//upload.wikimedia.org/wikipedia/commons/thumb/1/13/Oarabile_Mudongo-6054.jpg/800px-Oarabile_Mudongo-6054.jpg" alt="Oarabile" width="178" /> <span>Oarabile</span> </a> </li> </ul> <a href=" http://wikimediafoundation.org/w/index.php?title=Thank_You_All" title="">View More Editors</a> </div> </div> <script type="text/javascript"> mw.setConfig( 'EmbedPlayer.RewriteSelector', null ); var playerW = parseInt('760'); var playerH = playerW * 0.5625; //aspect ratio $("div#thank-you-video div.video-container img").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#thank-you-video div.video-container img").css('display', 'none'); $("div#thank-you-video div.video-container 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=85634.
![]() ![]() 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.
|