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 7:
var height = Math.round(0.5625 * width);
 
$("div.mediaContainervideoHolder 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");
 
$("div.videoHolder img").css("width", width + "px").css("height", height + "px").attr("width", width).attr("height", height);
});
</script>