
Video Playing Back at Native Size in IE9 Windows 7, Not Scaling to Width and Height
I'm testing an upgrade to JW Player 6.9.4867 from version 6.3.3242 Premium, self hosted. I'm getting a similar issue as mentioned in this post:
http://support.jwplayer.com/customer/portal/questions/8081175--setsamplefrequency-error-on-iexplorer-9
In IE9 only, the 1280x720 video is playing at native size instead of scaling down to fit its 700x394 container. The video playback and load seems fine, and it works as expected in all other browsers/versions tested so far. I also get the same javascript error about 'setSampleFrequency' the original poster refers to, but I don't know if it's related to the sizing issue. I'm not getting the error in 6.3, and I've never had an issue with the size of the video. I'm embedding the video using the following code in the body of the page:
(video paths are correct, analytics tracking code removed)
<div id="videoplayer_01" class="videoplayer"></div>
<script type="text/javascript">
jwplayer("videoplayer_01").setup({
file: "' . $videourl .'",
image: "' . $videoposterurl . '",
width: 700,
height: 394,
autostart: true,
skin: "/assets/scripts/jwplayer/jwplayer-skins-premium/bekle.xml"
});
jwplayer("videoplayer_01").onComplete( function(event){
jQuery(".videoComplete").fadeIn(500);
});
window.onbeforeunload = stopPlayers;
function stopPlayers(){
jwplayer().stop();
}
</script>
Any help would be appreciated. Thanks.