
JWPlayer Not Working
I am using JWPlayer on a web page at http://www.aviationclassics.com/uav.php
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:
<head>
<script src="inc/jwplayer/jwplayer.js"></script>
<script>jwplayer.key="xxxxxxx"</script>
</head>
<body>
<div id='myElement3'>Loading Observations: Drones...</div>
<script type='text/javascript'>
var playerInstance = jwplayer("myElement3");
playerInstance.setup({
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"
});
</script>
</body>