Difference between revisions 85717 and 85719 on foundationwiki

<html>
<div class="thumb tright">
<div class="commons-video" style="display:none;">
</html>[[{{{commons|File:The_Impact_Of_Wikipedia.webm}}}|{{{width|400}}}px]]<html>
</div>
<div class="thumbinner" style="width:</html>{{#expr: {{{width|400}}}+2 }}<html>px;">
<img id="video2012" alt="" src="</html>{{filepath:{{{placeholder|Wikipedia_Puzzle_Globe.jpg}}}|{{{width|400}}}}}<html>" width="</html>{{{width|400}}}<html>" class="thumbimage">
<div class="thumbcaption" style="text-align:center;"><p>This video is not hosted by the Wikimedia Foundation. It is hosted by <a class="external text" href="//youtube.com">YouTube.com</a> and is subject to the YouTube <a class="external text" href="//www.youtube.com/t/terms">tTerms of uUse</a> and <a class="external text" href="//www.google.com/intl/en/policies/privacy/">pPrivacy pPolicy</a>. Please do not view the video if you do not agree to their policies. -- If you would prefer to view the video from Wikimedia Commons, <a id="showcommonsvideo" onclick="return false;" href="">click here</a>.</p></div>
</div>
</div>

<script type='text/javascript'>
mw.setConfig( 'EmbedPlayer.RewriteSelector', null );
//$("div.commons-video").css('display', 'none');

(contracted; show full)    $("div.commons-video").css('display', 'block');
    $('#mwe_player_0').embedPlayer(function(){
        // play the video once ready:
        $('#mwe_player_0')[0].play();
    });
});
</script>
</html>