Template:Appeal/Video-Impact/en: Difference between revisions

Content deleted Content added
Pgehres (WMF) (talk | contribs)
No edit summary
Pgehres (WMF) (talk | contribs)
No edit summary
Line 3:
<html>
<script type='text/javascript'>
$("div.mediaContainer").css("width", "");
$("div.mwPlayerContainer").css("width", "").css("height", "");
 
var width = 500;
$("div.videoHolder img").css("width", "500px").css("height", "500px");
var height = Math.round(0.5625 * width);
 
$("div.mediaContainer").css("width", width + "px");
$("div.mwPlayerContainer").css("width", width + "px").css("height", height + "px");
 
$("div.videoHolder img").css("width", width + "500pxpx").css("height", height + "500pxpx").attr("width", width).attr("height", height);
</script>
</html>