Template:FR2012/Video-test: Difference between revisions
Content deleted Content added
No edit summary |
No edit summary |
||
(6 intermediate revisions by the same user not shown) | |||
Line 2:
<div class="thumb tright">
<!-- ---------- -->
<div class="commons-video" style="display:none;">
</html>[[File:The_Impact_Of_Wikipedia.webm|{{{width|400}}}px]]<html>
</div>
Line 13:
<script type='text/javascript'>
mw.setConfig( 'EmbedPlayer.RewriteSelector', null );
var playerW = parseInt('</html>{{{width|400}}}<html>');
Line 32 ⟶ 31:
);
});
$("a#showcommonsvideo").click(function(event){
event.preventDefault();
$("div.thumbinner").css('display', 'none');
$("div.commons-video").css('display', 'block');
$('#mwe_player_0')
$('#mwe_player_0')[0].play();
});
});
</script>
</html>
|