Difference between revisions 106932 and 106933 on foundationwiki<html> <style> .video-outer-wrapper { max-width: </html>{{{width|640}}}<html>px; } .video-wrapper { position: relative; padding-bottom: 56.25%; (contracted; show full)="external text" href="//www.youtube.com/t/terms">Terms of Use</a> and <a class="external text" href="//www.google.com/intl/en/policies/privacy/">Privacy Policy</a>. If you prefer, </html><span id="showcommonsvideo">[{{fullurl:commons:{{{commons|File:The_Impact_Of_Wikipedia.webm}}}}} view on Wikimedia Commons].</span><html></p> </div> </div><!-- /video-outer-wrapper --> <script> videoTemplate = videoTemplate || {}; videoTemplate.showCommonsVideo = function() { $('.video-youtube').remove(); $('.video-placeholder').css('display', 'none'); $('.video-commons').css('display', 'block'); }; videoTemplate.main = function() {⏎ $(".video-placeholder").click(function () { $(this).replaceWith( $("<iframe></iframe>", { class : "video-youtube", frameborder : 0, allowfullscreen : 1, cc_load_policy : 1, show_info : 0, enablejsapi : 1, src : "https://www.youtube-nocookie.com/embed/" + "</html>{{{youtube|3Knv6D6Thi0}}}<html>" + "?rel=0&autoplay=1&origin=wikimediafoundation.org&theme=light&modestbranding=1&color=white" })⏎ })⏎ ); }); $("a#showcommonsvideo").click(function(event){ event.preventDefault(); videoTemplate.showCommonsVideo(); }); if( mw.util.getParamValue( "commons" ) == "true" ){ videoTemplate.showCommonsVideo(); } function showCommonsVideo() { } }; videoTemplate.runWhenReady = function() { if ( window.$ ) { // is jquery loaded yet? $('. video-youtube').remove(); $('.video-placeholder').css('display', 'none'); $('.video-commons').css('display', 'block'); }Template.main(); } else { window.setTimeout( videoTemplate.runWhenReady, 200 ); } }; videoTemplate.runWhenReady(); </script> </html><noinclude><pre>{{YouTubeWithCommonsFallback | placeholder = Wikipedia_Puzzle_Globe.jpg | youtube = 3Knv6D6Thi0 | commons = File:The_Impact_Of_Wikipedia.webm | width = 640 }}</pre></noinclude> 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=106933.
![]() ![]() 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.
|