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

JWPlayer Not Working

I am using JWPlayer on a web page at
Although it works in my copy of Firefox and Microsoft Edge, my client gets an error message that says "Error loading media: File could not be played." using these same browsers.
I have also noticed that the video will not play in Google Chrome.
My code is as follows:

<script src="inc/jwplayer/jwplayer.js"></script>
<div id='myElement3'>Loading Observations: Drones...</div>
<script type='text/javascript'>
var playerInstance = jwplayer("myElement3");
playlist: [{
image: "img/observationsVideo.jpg",
sources: [{
file: "img/observations.flv"
file: "img/observations.mp4"
file: "img/observations.webm"
primary: "flash",
width: "358",
height: "252",
image: "img/observations.jpg"

1 Community Answers


JW Player Support Agent  
0 rated :

If a viewer does not have Flash enabled in their browser they will not be able to play the video since you have set the player to render primary: 'flash'.

The video plays on my end in Chrome as long as you click outside of the play button within the video player to have it start. This play button issue appeared after Chrome 55 was released, however, this was resolved with the recent 7.8 version releases of the player. I would recommend updating your players to the latest version.

If you still experience this issue with the play icon, please send us a test page so that we can see the issue reproduced in the latest version.

This question has received the maximum number of answers.