Name is required.
Email address is required.
Invalid email address
Answer is required.
Exceeding max length of 5KB

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>

13 Community Answers

MisterNeutron

User  
0 rated :

Probably a faulty emulator. That JW test page works fine in IE11 set to IE10 mode.

bmueller

User  
0 rated :

BrowserStack is not an emulator. IE11 set to IE10 mode is an emulator, and so far as i understand it, isn't a true test of IE10.

bmueller

User  
0 rated :

Also, I should mention that this is Windows7, IE10.

bmueller

User  
0 rated :

From BrowserStack:

http://www.browserstack.com/test-in-internet-explorer

Andrew

JW Player Support Agent  
0 rated :

If this page:
http://www.jwplayer.com/html5/formats/
fails to play an MP4 file, there is likely an issue with the machine itself. Again, this is using a direct HTML5 video tag without involving the player. I would double check on another IE10 machine.

MisterNeutron

User  
0 rated :

BrowserStack screws up even my simple demo pages when trying to behave like IE10. It is manifestly NOT real IE10, because when I set up those demos, I was running native IE10 on my PC, and it worked fine.

Get yourself to an actual PC with actual IE10 running on it. You can't rely on emulators, virtual machines, or whatever you want to call them.

MisterNeutron

User  
0 rated :

BrowserStack even screws up this demo page:

http://misterneutron.com/videoTag/

Take a good look at that page code! No JW Player at all - just a raw <video> tag.

bmueller

User  
0 rated :

Ugh. I confirmed by downloading a Win7/IE10 VM from modern.ie. Within that environment, the video loads, but autoplay doesn't work. The relevant code is below. Any idea if *that* is an artifact of the VM, or if that's a problem with JWPlayer?

var myplayer = jwplayer('videoplayer').setup({
width: '100%',
aspectratio:'16:9',
autostart: 'false',
file: 'path/to/file.mp4'
});

myplayer.onReady( function () {
myplayer.play(true);
});

Andrew

JW Player Support Agent  
0 rated :

Interesting. There are a few issues I’ve seen with specific VMs running Windows and IE10. Trying to replicate this with any physical machine wasn’t possible on my end. Offhand, which program are you using with this?

MisterNeutron

User  
0 rated :

Got an email from BrowserStack support:

"We are facing an issue with HTML 5 videos on Windows 7–IE 10 and IE 11. We are working to fix this, and will keep you posted. Meanwhile, you can test videos on Windows 8–IE 10 and Windows 8.1–IE 11"

The Win8/IE10 combo works, but only "sort of." The video plays, but with no sound. With Win8/Chrome40, it plays, with sound, but stumbles and stutters all the way through.

In short, BrowserStack + video is not a match made in heaven. I'm also finding it unreliable for a lot of other things.

bmueller

User  
0 rated :

@MisterNeutron, I got the same response late last night from them. I'm trying to figure out how, if they're delivering "real IE", this can be broken in the first place. I don't much care about whether the video stutters or not--most of the problems I'm looking to verify are around invoking/playing/pausing/removing/etc. I wouldn't expect the video playback itself to be smooth.

@Andrew, I'm running VMWare Fusion Version 7.1.0 (2314774), with Windows 7.1 Enterprise SP1. IE10 version 10.0.9200.17148.

MisterNeutron

User  
0 rated :

"I'm trying to figure out how, if they're delivering "real IE", this can be broken in the first place."

Exactly. Apparently this involves some definition of "real" with which I'm not familiar. On my non-JW stuff, I'm seeing things like missing custom cursors (multiple browsers - not just iE). In short, there's still no substitute for testing the real browsers under real OS's. Tough to cover all the bases, but at least with FF and Chrome, they're self-updating, so ignoring very old versions is relatively safe.

bmueller

User  
0 rated :

I figured since I didn't have to worry about testing against IE8 anymore (thank god) that I'd have relatively smooth sailing with IE. Alas...no.

This question has received the maximum number of answers.