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

Problem Error loading media, file could not be played when reloading the page


I contact you because when i play a mp4 file and i reload the page or click anywhere on the page i have an error in the player: "Error loading media, file could not be played". ( can last btw 2/4 seconds )

How i can fix it please because this disturbing a lot the users.

Here is my code:

<div id="myElement">Loading the player ...</div>
<script type="text/javascript">
sources: [
{ file: "{{$flashvars.video_url|rtrim:"/"}}", label: "720p HD" },
{ file: "{{$flashvars.video_alt_url|rtrim:"/"}}", label: "480p" }
image: "{{$flashvars.preview_url}}",
skin: "{{$config.project_url}}/player/jw/skin_six/six.xml",
width: "100%",
aspectratio: "16:9",
autostart: true

Could you help me please.


3 Community Answers


0 rated :

Please give us a link to your site.


0 rated :

I can't give a link because this is an adult website...
How can we fix this problem please.

Ethan Feldman

JW Player Support Agent  
0 rated :

Then put up a safe for work test page.

This question has received the maximum number of answers.