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

IE11 hangs when you seek to the end


If you view a video in IE11 and drag the slider to the end of the video, it will often hang IE completely. In some cases, you can't drag the slider back to anywhere else in the video. In almost every case, you can't get the video to resume playing at all, from anywhere. At that point IE becomes unresponsive, refusing even to close. Oddly, if you hit F5, it will finally close the browser.

This happens everywhere, including the demo on the jwplayer.com front page. If it doesn't hang immediately, tinker with it a bit - you shouldn't have much trouble triggering this bad behavior.

So, is this a JW Player bug? No, it's not. I see the same thing in IE11 when viewing a video with a simple <video> tag. So, it's an IE11 bug. I just wonder if JW Player can find a way to avoid it, perhaps by limiting the "seek" so that you can't actually get to very end of the video. On the JW home page, for example, you're safe as long as you never seek past 00:42. But hit 00:43, and you're in no-man's-land.

10 Community Answers

Ethan Feldman

JW Player Support Agent  
0 rated :

Hm, I can’t seem to get this to happen on my machine, but possibly in your JW Player setup code, try adding the following?

events:{
onTime: function(object) {
if(object.position > object.duration – 1) {this.pause();}
}
}

MisterNeutron

User  
0 rated :

That seems to disable the player entirely.

Ethan Feldman

JW Player Support Agent  
0 rated :

Can I see an example? All this does is make the player pause a second before it completes.

MisterNeutron

User  
0 rated :

Ethan, please just post the code as it should look when added to this simple example, rather than making me guess my way through it:

jwplayer('myElement').setup({
file: 'wildlife.mp4',
image: 'wildlife.jpg',
width: 640,
height: 360
});

Ethan Feldman

JW Player Support Agent  
0 rated :

jwplayer(‘myElement’).setup({
file: ‘wildlife.mp4’,
image: ‘wildlife.jpg’,
width: 640,
height: 360,
events:{
onTime: function(object) {
if(object.position > object.duration – 1) {this.pause();}
}
}
});

https://gist.github.com/emaxsaun/0130dc3db17c3b0ad8bf

MisterNeutron

User  
0 rated :

That gives me pretty much the same "stuck seek" behavior in IE11.

Don't pause the player. Hit "play," then drag the slider to the end. Now drag it back to time 00:20, for example. From that moment on, you're doomed until you do a forced refresh of the page. And if you keep tinkering with it, you'll eventually lock up IE entirely, and have to force-quit it. FF and Chrome are reasonably well-behaved.

IE11, Win7/64, no extensions or addons.

http://misterneutron.com/JW6videoSeek/

Ethan Feldman

JW Player Support Agent  
0 rated :

I see what you mean. If you seek while holding down the mouse, and drag down until the end of the video, you can’t really do much. Happens with <video> as well. Maybe there is a way to disable seek by dragging on a webpage?

Ethan Feldman

JW Player Support Agent  
0 rated :

My work around does make the player stop a second before the end, but you can still click and drag and seek past it.

MisterNeutron

User  
0 rated :

Glad you're seeing the effect and yes, it's inherent in IE11's handling of <video>. It's pretty dramatic, since you can actually lock up the browser!

Gee, I can't wait for Spartan. I'm sure that browser will be perfect, right out of the box. Yeah, that's it.... ;)

Ethan Feldman

JW Player Support Agent  
0 rated :

Yeah, that is very strange. It doesn’t happen if you click to seek, only if you drag to seek, and happens with <video> too.

This question has received the maximum number of answers.