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 7: Line 7:
var height = Math.round(0.5625 * width);
var height = Math.round(0.5625 * width);


$("div.mediaContainer").css("width", width + "px");
$("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.mwPlayerContainer.k-player").css("width", width + "px").css("height", height + "px");
$("div.mediaContainer").css("width", width + "px");


$("div.videoHolder img").css("width", width + "px").css("height", height + "px").attr("width", width).attr("height", height);
});
});
</script>
</script>

Revision as of 19:13, 27 November 2012