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

Error Loading Media: File could not be played


We are getting the error with Firefox and Chrome on some machines an not others, so it doesn't seem that it would be that we are trying to load a file in a nonsupported format in JW Player (which the troubleshooter suggests)

http://www.proirb.com/training/bc/training.htm

Thanks for your help




13 Community Answers

MisterNeutron

User  
1 rated :

Your video is an MOV, and it's being served with a MIME type of video/quicktime. That's not supported. Convert to MP4, and make sure the server is tagging it with a MIME type of video/mp4.

CherScoled

User  
0 rated :

.mov isn't supported? So the only reason it's working on some computers is because that computer happens to have quicktime installed?

How do I have the server tag it with the MIME type of video/mp4?

MisterNeutron

User  
0 rated :

An MOV might be OK, as long as it's encoded as H.264, and as long as the server puts the correct MIME type on it. Converting to MP4 is the safer route, and the server might then automatically provide the correct MIME type.

http://support.jwplayer.com/customer/portal/articles/1403635-media-format-reference

Every file that a server provides comes with an HTTP header that tells the browser what kind of file it is. If you convert to MP4, but your server is STILL not providing the “video/mp4” MIME type, your server administrator needs to fix this. If you can edit your own .htaccess file on the server, you can add this line:

AddType video/mp4 .mp4

But it really would be best if the server administrator corrected the error in the server configuration.

Andrew

JW Player Support Agent  
0 rated :

Indeed. MOV can be played in these cases, but MP4 is a much neater way to handle things.

CherScoled

User  
0 rated :

Thanks - I've converted to a .mp4, updated the htm - but it appears even worse (at the moment) - seems the MIME type the server is providing is text/ html. (As long as I didn't do anything else to screw it up).

I have a ticket in with the hosting company.

Thanks for your help.

CherScoled

User  
0 rated :

And thanks for the Handbrake suggestion - one of the reasons I had originally selected JWPlayer was to avoid conversion -- but Handbrake did make it very easy.

MisterNeutron

User  
0 rated :

It's surprising how many web hosts get the MIME type wrong on MP4 files. When they were always being displayed with Flash it didn't matter, but these days, it's a real problem. Even major cloud services like Amazon AWS manage to screw this up!

In short, you're not alone. Small comfort....

Handbrake is excellent - just make sure you've checked "Web optimized." That puts the moov atom at the beginning of the file, so it can be streamed (i.e., the visitor doesn't have to wait for the whole video to download before it starts playing).

CherScoled

User  
0 rated :

Oh thanks for that! I'll go back and check it!

CherScoled

User  
0 rated :

I went back and recompiled all of the videos with the Web Optimized checked, and my hosting comp added the MIME type.

The video seems a little jumpy -- any ideas?

Andrew

JW Player Support Agent  
0 rated :

This might be based on the encoding itself unfortunately. Is this happening across all instances? Media player, HTML5 video tag, browsers, etc.?

MisterNeutron

User  
0 rated :

I tried a couple of different browsers, and didn't see any signs of trouble - the video kicks off quickly, and plays smoothly.

CherScoled

User  
0 rated :

Maybe it was just my connection yesterday -- thanks Andrew and MisterNeutron.

One of my testers said "there isnt anything showing up on IE9" -- did I see somewhere there's another tweak for IE? (I'm looking to see if I can locate a IE9 machine locally -- my IE11 worked fine)

MisterNeutron

User  
0 rated :

IE9 must have Flash installed. Send your tester to:

https://helpx.adobe.com/flash-player.html

This question has received the maximum number of answers.