Template:Appeal/Video-Impact/en: Difference between revisions
Content deleted Content added
No edit summary |
No edit summary |
||
Line 5:
<html>
<script type='text/javascript'>
var documentWidth = $(document).width();
var appealWidth = documentWidth - 638; //static width for now
var playerW = appealWidth;
var playerH = playerW * 0.5625; //aspect ratio
$("#appeal-body").width( appealWidth );
$(mw).bind('EmbedPlayerNewPlayer', function( event, embedPlayer ){
$( embedPlayer ).bind( 'playerReady', function(){
embedPlayer.$interface.css({'width':
embedPlayer.updateLayout();
});
|