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

JW Player 6 not playing mp4 with Chrome html5


My test link:
http://test.stage.phootime.com/test.html

It works well on Safari's html5 mode, but shows "Error loading media: File could not be played" on Chrome's html5 mode.

P.S. tested on Mac. Chrome version 23.0.1271.64.

7 Community Answers

Pablo

JW Player Support Agent  
0 rated :

@clk -

Your videos are being returned from your server with a mime type of “binary/octet-stream”. It needs to be “video/mp4” for MP4 files.

JW Player

User  
0 rated :

I changed its content-type, but still not working..

Pablo

JW Player Support Agent  
0 rated :

@clk -

If I enter your video’s URL into Chrome and try to play it directly in the browser, it does not work either.

I would recommend re-encoding your video using a tool such as Handbrake, and see if that fixes the issue.

JW Player

User  
0 rated :

I get the exact same error in chrome. JW v5 works fine but v6 displays "Error loading media: File could not be played" - i think it may be a bug in v6.

JW Player

User  
0 rated :

I fixed this problem. my urls where written like this "../folder1/folder2/file.mp4" when i changed the links to "http://actual/location/folder1/folder2/file.mp4" - it worked fine. Can this be fixed?

JW Player

User  
0 rated :

Sorry for so many posts, i found that all the following urls now work
"http://actual/location/folder1/folder2/file.mp4"
"/folder1/folder2/file.mp4"

however this did not work...
"../folder1/folder2/file.mp4"

must be some changes in the jwplayer code - hope this works for you!

Ethan Feldman

JW Player Support Agent  
0 rated :

Thanks for sharing, glad you got it working!

This question has received the maximum number of answers.