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

Windows 7 Error Loading Media: File Could Not Be Played - JW Player 7.1


We have been testing extensively with the self-hosted JW Player and finding several inconsistencies in the behavior: Two users running Windows 7 and testing with Google Chrome, Mozilla Firefox and IE11 all the latest builds are experiencing completely different results.

One user in the US tests fine but another user in the Ukraine gets the Error Loading Media: File Could Not Be Played

Any thoughts:

Here is the example video: http://sharepoint-videos.com/module-3/upload-multiple-documents-to-a-library-sp-2013/

20 Community Answers

jeremy

User  
0 rated :

We are using AWS to host these videos if this helps

Randy

JW Player Support Agent  
0 rated :

Hello Jeremy,

I initially though this could have potentially been a Flash issue but I see you are hosting an mp4. Can you confirm that this issue was not a one off problem and if it is consistent can you potentially provide what error message you see in the Browser Console window?

Randy

jeremy

User  
0 rated :

Hi Randy,
The user reported this consistently for all of SharePoint 2013 Videos that are using JW Player Self-Hosted with a MP4 videos on HTML5 primary and no Flash Fallback as you reported.

jeremy

User  
0 rated :

Here is an reproduction page:

http://dev.sharepoint-videos.com/jwplayer/

jeremy

User  
0 rated :

I should also note that we are running this in Wordpress but we were unable to use he JW Player plugin for JW Player 7 because it didn't exist.

We are calling the jwplayer and jw player license files in the page body of each page rather than the <head> of global document.

Finally we are using AWS S3 direct rather than cloudfront.

Alex

JW Player Support Agent  
0 rated :

Hi, Jeremy.

The player on your page is working for me in IE 11 and Firefox 42 for Windows 7. We do not have a test computer available running Windows Server 2008 R2, but I am currently downloading an evaluation copy of it from Microsoft’s site and will test it out in there.

I will let you know what I find.

jeremy

User  
0 rated :

Thank you Alex.

The videos load fine for me on all browsers in Windows 7 as well, so I guess my earlier question is what potentialities are we looking at that would prevent the video from loading with the error: Media: File Could Not Be Played for a user outside of the USA?

jeremy

User  
0 rated :

Thank you Alex.

The videos load fine for me on all browsers in Windows 7 as well, so I guess my earlier question is what potentialities are we looking at that would prevent the video from loading with the error: Media: File Could Not Be Played for a user outside of the USA?

jeremy

User  
0 rated :

Thank you Alex.

The videos load fine for me on all browsers in Windows 7 as well, so I guess my earlier question is what potentialities are we looking at that would prevent the video from loading with the error: Media: File Could Not Be Played for a user outside of the USA?

jeremy

User  
0 rated :

Testing

Alex

JW Player Support Agent  
0 rated :

Hi, Jeremy.

Regarding MP4 playback in Windows Server 2008 R2 – it looks like it would require Flash Player in both IE and Firefox.

As for the media not being able to be played in certain locations, there’s nothing in our player that would cause that to happen. We actually have plenty of customers using our player in the Ukraine. If there’s any geo-blocking, it may be set inside of SharePoint.

Please let me know if you need any more help or have any other questions.

Thank you!

jeremy

User  
0 rated :

Hello Alex,

We are using HTML5 as our primary and are using the following video embed:

<div id="visualSPPlayer">Loading the player...</div>
<script type="text/javascript">
var playerInstance = jwplayer("visualSPPlayer");
playerInstance.setup({
playlist: [{
image: "http://sharepoint-videos.s3.amazonaws.com/screencasts/20035/poster.PNG",
sources: [ {
file: "http://sharepoint-videos.s3.amazonaws.com/screencasts/20035.mp4"
}],
tracks: [{
file: "http://sharepoint-videos.s3.amazonaws.com/screencasts/20035/thumbnails.vtt",
kind: "thumbnails"
}]
}],
primary: "html5",
width: "100%",
aspectratio: "16:9",
autostart: true,
skin: {
name: "vapor",
active: "#E16933",
inactive: "#E16933",
background: "#333333"
}
});
</script>

I've installed Flash Player 20 and attempted to view in both Firefox and IE11 and it still reports Error loading player: No playable sources found.

How would we need to modify it to render correctly?

jherrieven

User  
0 rated :

Your server is mis-configured and is sending the MIME-type of "application/octet-stream" instead of "video/mp4" for your video file.

IE and Firefox have historically been very picky about the MIME-type being correctly set.

Correct this on the server side configuration and your problem will likely go away!

James Herrieven

===================================================
Powered by Haiku
[http://powered-by-haiku.co.uk/]
---------------------------------------------------
Tatami for Online Video
http://dev.powered-by-haiku.co.uk/solutions/tatami/
---------------------------------------------------
skype: JamesHerrieven
email: james[at]haiku[dot]co[dot]uk
===================================================

jeremy

User  
0 rated :

Hi James,

We are using AWS S3 does this setting have to be changed per video (we have over 960 videos) or just once?

jherrieven

User  
0 rated :

Hi Jeremy

Just checked it again and it does now appear to be coming as "video/mp4" - have you changed anything?

James

jeremy

User  
0 rated :

I haven't changed anything. Is that strange?

jeremy

User  
0 rated :

I just checked AWS Console and the content-type for that video is set to "video/mp4" (See screenshot)

http://dev.sharepoint-videos-com/jwplayer/mp4_issue.png

jeremy

User  
0 rated :

Sorry, the url is malformed. Should be:

http://dev.sharepoint-videos.com/jwplayer/mp4_issue.png

jeremy

User  
0 rated :

Problem solved.

Flash Player was Installed for both IE11 and Firefox and it appears to have resolved the playback issues in Windows Server 2008R2

Alex

JW Player Support Agent  
0 rated :

Glad to hear, Jeremy!

This question has received the maximum number of answers.