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

HTML5 MediaError Code 4


I am getting an error thrown (MediaError code: 4) when I have cache disalbed via the dev-tools in Chrome. However, when cache is enabled (not checked for "disable cache") in the dev-tools, the video plays as expected.

Any ideas, or params to pass into jwplayer setup to get around this issue?

FYI... while it's not really related, I have tried appending a random timestamp to the video src url, as well as params { mode: "shim" } and { preload: "none" } to no avail.

Any help is much appreciated.

Thanks!
- Ben

3 Community Answers

Ethan Feldman

JW Player Support Agent  
0 rated :

Please provide a link.

ben.babics

User  
0 rated :

You can view the example at http://codepen.io/benbabics/pen/uHGDc.

This works when cache is enabled, and throws an error when cache is disabled in dev-tools. Any help is much appreciated.

Thanks!

Ethan Feldman

JW Player Support Agent  
0 rated :

This doesn’t work for me regardless of the cache being enabled or not.

http://dev-trunk.cxp.corp.web/contentservice/assets/T=1405090791809/easd01h/videos/vs_3_1_1_med.mp4

Going to this file in a browser won’t work for me, since the server is not accessible to me.

Also, you are using 6.6 here, I would update to 6.9.

This question has received the maximum number of answers.