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

From Donate
Jump to navigation Jump to search
Content deleted Content added
Pgehres (WMF) (talk | contribs)
No edit summary
Pgehres (WMF) (talk | contribs)
No edit summary
Line 3: Line 3:
<html>
<html>
<script type='text/javascript'>
<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 + "px").css("height", height + "px").attr("width", width).attr("height", height);
</script>
</script>
</html>
</html>

Revision as of 19:07, 27 November 2012