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

.mov files doesn't work on FIREFOX AND IE


Hi all,

I need to play mov files with jwplayer, but I don't know why on chrome and safari everything works but on FF and IE i have got an error: Error loading media file could not be played.

this is my code:

jwplayer("videoPlayer").setup({
file: urlVideo,
width: "100%",
aspectratio: "16:9"


});

I tried to add type option, but it didn't work .

i set type like this:

type: "mp4"

15 Community Answers

Ethan Feldman

JW Player Support Agent  
0 rated :

Please provide a link.

lukas1725

User  
0 rated :

http://www.woodenbe.com/videomov/

this is the link,

Ethan Feldman

JW Player Support Agent  
0 rated :

Your encoding is MPEG-4, but it needs to be H.264.

lukas1725

User  
0 rated :

Ok, the video of the link is MPEG-4 , but trust me is not working with a h.264 video. I can't use the H.264 video because of privacy.

I ll try to get another video for you, do you think I need to set more option in the video player or is enough like this?

Ethan Feldman

JW Player Support Agent  
0 rated :

You have to use H.264. Neither Flash or HTML5 supports MPEG-4…

lukas1725

User  
0 rated :

I can see that the same video is working on anotehr private website that is using your jwplayer (probably an oldest version).

i see that in their code they set the object like this.


var flashvars = {};
flashvars.linkfromdisplay = "true";
flashvars.autostart = "true";
flashvars.height = "385";
flashvars.width = "640";
flashvars.repeat = "none";
flashvars.displayheight = "360";
flashvars.displaywidth = "640";
flashvars.file = escape("NEWS0002.MOV");
var params = {};
params.menu = "true";
params.allowscriptaccess = "always";
params.allowfullscreen = "true";
var attributes = {};
attributes.id = "Player";
attributes.name = "Player";
swfobject.embedSWF("/embed/mediaplayer.swf", "Player", "640", "385", "9.0.0","/embed/expressInstall.swf", flashvars, params, attributes);

Ethan Feldman

JW Player Support Agent  
0 rated :

Show me it please, would love to see. I downloaded your file and I know the encoding is wrong.

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

lukas1725

User  
0 rated :

I will try to get a h264 encode video and I will show you! I cannot show you the other website because is a private website and only people that works with them can see their website.

Ethan Feldman

JW Player Support Agent  
0 rated :

Ok.

lukas1725

User  
0 rated :

Here we go , now is a mov file codec h264, but is still not working on IE and FF but working in chrome and safari, should i add some options in my setup?

http://www.woodenbe.com/videomov/

Ethan Feldman

JW Player Support Agent  
1 rated :

Replace:

hideLogo: true

With:

primary: “flash”

Mov is not supported in html5 video.

And hideLogo: true is not a variable for the player. If you actually want to remove the logo, you need to purchase a license.

lukas1725

User  
0 rated :

Yes it works!! Thank you, I knew that the problem was the html5 player, but I didn't know how to set primary flash..

it was so easy!

Cheers

Ethan Feldman

JW Player Support Agent  
0 rated :

Np

lukas1725

User  
0 rated :

Just another question, I see that this method is working in all browsers except on android devices, do you know why?

Ethan Feldman

JW Player Support Agent  
1 rated :

Because Android uses html5 and mov won’t work in the video tag.

This question has received the maximum number of answers.