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

Error loading media with Chrome / Android


I've got an error message saying "Error loading media : file could not be played" on Chrome / Android (also on Safari / iPod).
No problem playing video on PC...

A test page is here :
http://www.risques.tv/vtest.html

Can you help me ?

Thanks

2 Community Answers

MisterNeutron

Best Answer 

Every file that a server provides comes with an HTTP header that tells the browser what kind of file it is. Your server is producing the video with a MIME type of "text/html," whereas it needs to be "video/mp4." 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.

View in conversation

Ethan Feldman

JW Player Support Agent  
0 rated :

Your file – http://www.risques.tv/compteur-video-lecture-2.php?file=http://wpc.6BF7.edgecastcdn.net/006BF7/fms/video/actualite/111France3_eau-potable-grand-lemps_24-07-2014.mp4&action=pause

Has the mime-type – text/html

But it should be – video/mp4

Your web host should be able to add it for you.

MisterNeutron

Best Answer  User  
2 rated :

Every file that a server provides comes with an HTTP header that tells the browser what kind of file it is. Your server is producing the video with a MIME type of "text/html," whereas it needs to be "video/mp4." 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.

This question has received the maximum number of answers.