
Video will not play in IE10
Hi,
I'm having trouble getting a video to play in IE10. The full code is below (with just my JWPlayer key and path to the file removed). I'm using BrowserStack to test, and what I've seen thus far is that it works in IE9 and IE11, but fails in IE10. When I click the play button, I instead get "Error Loading Media: File could not be played".
FWIW, this page fails in IE10:
http://www.jwplayer.com/html5/formats/
...and I found a tech note saying the problem could be due to the wrong MIME type. My IIS installation is serving up MP4 video as "video/mp4", so that's not the problem. Also, I've tried the page with ActiveX Filtering enabled and disabled, to no avail.
Here is the code:
<!DOCTYPE html>
<html>
<head>
<title>JWPlayer Test</title>
<script src="//ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>
<script src="http://jwpsrv.com/library/[my-player-key].js"></script>
</head>
<body>
<div id="videoplayer"></div>
<script type="text/javascript">
jQuery(document).ready( function (jQuery) {
var myplayer = jwplayer('videoplayer').setup({
width: '100%',
aspectratio:'16:9',
autostart: 'false',
file: 'path/to/video.mp4'
});
});
</script>
</body>
</html>