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

JW Player 6.5 Error Loading Media: File could not be played in firefox

I recently bought JW PLAYER ADS 6.5
On local host it gives the following error 'Error Loading Media: File could not be played' in firefox and on self hosted web server it plays 2 secs and stops in firefox. Never loads in IE. only plays in google chrome
JW PLAYER 6.5 Test Link

The same video plays fine in old JW PLAYER 5.10

JW PLAYER 5.10 Link

Please help

My code

<script type="text/javascript" src="jwplayer/jwplayer.js"></script>
<script type="text/javascript">jwplayer.key="xxxxxxx";</script>


<div id="myElement">Loading the player...</div>

<script type="text/javascript">
file: "upload/videos_all/live/CherieBlairFoundation6.mp4",
image: "upload/videos_all/thumbnails/CherieBlairFoundation6.jpg"

3 Community Answers

Ethan Feldman

JW Player Support Agent  
0 rated :


image: “upload/videos_all/thumbnails/CherieBlairFoundation6.jpg”


image: “upload/videos_all/thumbnails/CherieBlairFoundation6.jpg”,
primary: “flash”

JW Player

0 rated :

Ethan, that fixes the issue, but it will always force flash. What about HTML5?

Ethan Feldman

JW Player Support Agent  
0 rated :

Well, FF itself has issues with MP4 files in HTML5 <video>. It worked in 5.10 because Flash was the primary mode here. Since it still works in Chrome in HTML5, I would think that this work around should be OK.

This question has received the maximum number of answers.