Difference between revisions 86382 and 86384 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;">
(contracted; show full)    $('#mwe_player_0').embedPlayer(function(){
        // play the video once ready:
        $('#mwe_player_0')[0].play();
    });
});

if( getQuerystring( "commons" ) == "true" ){

    event.preventDefault();
    $("div.thumbinner").css('display', 'none');
    $("div.commons-video").css('display', 'block');
    $('#mwe_player_0').embedPlayer();
}
</script>
</html>