Template:Appeal/Video-Impact/en: Difference between revisions
Jump to navigation
Jump to search
Content deleted Content added
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
[[File:The_Impact_Of_Wikipedia.webm]] |
[[File:The_Impact_Of_Wikipedia.webm]] |
||
<!--<gallery>File:The_Impact_Of_Wikipedia.webm]]</gallery> |
<!--<gallery>File:The_Impact_Of_Wikipedia.webm]]</gallery>--> |
||
<html> |
<html> |
||
<script type='text/javascript'> |
<script type='text/javascript'> |
||
$( |
$(mw).bind('EmbedPlayerNewPlayer', function( event, embedPlayer ){ |
||
$( embedPlayer ).bind( 'playerReady', function(){ |
|||
return; |
|||
embedPlayer.$interface.css({'width': 400, 'height':300}) |
|||
var width = 500; |
|||
embedPlayer.updateLayout(); |
|||
var height = Math.round(0.5625 * width); |
|||
}); |
|||
$("div.videoHolder img").css("width", width + "px").css("height", height + "px").attr("width", width).attr("height", height); |
|||
$("div.mwPlayerContainer.k-player").css("width", width + "px").css("height", height + "px"); |
|||
$("div.mediaContainer").css("width", width + "px"); |
|||
}); |
}); |
||
</script> |
</script> |
Revision as of 23:22, 29 November 2012