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

Error loading media: File could not be played iOS


Using JWPlatform embed code, recently our videos have Doesnt playing under the iOS (works fine in Android w/ HTML5). Users are getting the error "Error loading media: File could not be played". Here is an example page: http://sidfinternet.interactive.sa/en/Pages/aa.aspx

Thanks!

5 Community Answers

Alex

JW Player Support Agent  
-1 rated :

Hello.

The video does not appear to play on Safari on a Mac either. I see in your code that you are calling the video using a separate <video> element. Does the video work if you remove this element? Our player natively supports Safari on both the Mac and iOS devices.

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

Thank you!

abd_back

User  
0 rated :

It is working on safari on Mac but not working on iPhone/iPad. the message is "Error loading media: File could not be payed".

So I think the player is loaded but the video file itself is not loaded.

i using version="6.11.4920"

Alex

JW Player Support Agent  
0 rated :

Hi.

It looks like the issue lies in the way your server is configured. I took the MP4 file that you were serving and uploaded it to our test server and it played fine on iOS, while the file hosted by your server results in the error you received when I tried to play it.

I created a test page to compare the two streams that you can see here: http://qa.jwplayer.com/~abussey/56109-safari-ios.html

Your server does not look like it is set up to handle byte-range requests and would need to be updated to resolve this issue. I verified this by running the test listed on Apple’s Developer page regarding this, which I’ve linked below. They suggest updating your server so that it sends the correct MIME types for .mov, .mp4, .m4v and .3gp files.

Configuring Your Server – https://developer.apple.com/library/ios/documentation/AppleApplications/Reference/SafariWebContent/CreatingVideoforSafarioniPhone/CreatingVideoforSafarioniPhone.html#//apple_ref/doc/uid/TP40006514-SW6

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

Thank you!

abd_back

User  
3 rated :

ok , its work now ,
thank you
to solve it (Sharepoint 2013 with JWplayer if not working in IOS )
just change in web.config this line

<BlobCache location="D:\SPS\BlobCache" path="\.(gif|jpg|jpeg|jpe|jfif|bmp|dib|tif|tiff|themedbmp|themedcss|themedgif|themedjpg|themedpng|ico|png|wdp|hdp|css|js|asf|avi|flv|m4v|mov|mp3|mp4|mpeg|mpg|rm|rmvb|wma|wmv|ogg|ogv|oga|webm|xap)$" maxSize="10" enabled="true" />


ref:
http://stackoverflow.com/questions/20383761/in-sharepoint-2013-the-uploaded-videos-are-not-playing-on-ipad-and-iphone


thank you

Alex

JW Player Support Agent  
0 rated :

Great to hear. Thanks for letting me know!

This question has received the maximum number of answers.