Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

HTML5 Video won't play on my ipad or iphone.

A video I encoded for mp4 and built in HTML5 won't play on my ipad or iphone.


It plays fine on Safari on MacBook as well as Google Chrome on Windows7, both in the HTML5 player.


I have encoded the mp4 in a program called HandBrake using H.264 for video and AAC for Audio and the device set to ipad (I also tried iphone).


URL is timken.com/sites/momentoftrust/en-us/documents/html5.html


The video is at timken.com/sites/momentoftrust/en-us/documents/maddy_ipad.mp4


I am just stumped as to why the video plays fine in the HTML5 container on a MacBook using Safari but will not play on the ipad or iphone.

iPad 2, iOS 4.3.2

Posted on Jun 21, 2011 7:25 AM

Reply
16 replies

Jun 21, 2011 10:45 AM in response to slamb0513

Slamb0513-


How are you transferring the movie to your iPad?


I downloaded your maddy_ipad.mp4 file and had no trouble transferring it to my iPad, where it plays the same as on the URL you provided.


I opened iTunes and selected Movies. I dragged the file into the movies window and then synced with the iPad.


I suggest you update to iOS 4.3.3, in case that has anything to do with your problem.


Fred


Message was edited by: Fred*M.

Jun 21, 2011 11:01 AM in response to Fred-M-

That's what has me so stumped. I can transfer the video to the ipad and it plays fine. I am testing the HTML5 <video> embed option as I would like to convert all the videos on my site from flash to HTML5 so they play on the ipad.


The video plays fine on the ipad directly. The videos plays fine on a MacBook using Safari, and on Chrome using W7. But the video won't play on the ipad when trying to view it in Safari at that URL, not will it play through Safari when trying to go to the same video directly.


It also wont play on the iphone.

Jun 21, 2011 10:16 PM in response to slamb0513

Slamb0513-


The video you have at the html5.html URL is different from the other, but it also plays when downloaded and transferred to the iPad.


I didn't examine your html5.html file. I take it you are not hand-encoding, but using a program that does that for you. Here is the html line I used to download one of your files:

<LI> <A HREF="http://timken.com/sites/momentoftrust/en-us/Documents/pr6.mp4">MP4 Test</A>


I downloaded the mp4 file by right-clicking the URL and selecting Download Linked File As. Just clicking the URL plays the video on the Mac Pro's Safari, but I don't know how to test it on the iPad.


Fred


Message was edited by: Fred*M.

Jun 22, 2011 9:24 AM in response to Fred-M-

I tried using the iPad to navigate to this page. Clicking on the above link for pr6.mp4, the file loaded but would not play. It showed the "start" triangle with a line through it.


It seems obvious that mp4 files can't be displayed on the iPad using the web browser to get to them. So what format can the browser play?


I don't think the problem is HTML5. Perhaps MPEG5 is the format needed to replace Flash. I did a search for MPEG5 and was led to a website (squared5) that had a format converter. I suspect everything would work if only we knew which format to use!


Fred

Jun 22, 2011 10:36 AM in response to Fred-M-

Thanks for the replies. I have figured out the problem. The ipad will play mp4. In fact, Adobe recommends mp4 video encoded with H.265 baseline specifically for the ipad/iphone. My problem was not the video, nor the HTML5 code. After days of trying different encoding methods and code, we came to determine that it was an environmental issue. We took the video and HTML file off the MOSS/IIS6 server that has our site in a content manager and put it on a server that was just IIS. Everything then worked fine. Now we are testing methods to determine what about being in a SharePoint content managed site is causing the video not to be played.


Baby steps....

Nov 22, 2011 3:16 PM in response to slamb0513

Hi Slamb0513,


We are also facing a simliar issue. The executives using our site are all using iPads so we started using HTML 5 within SharePoint. However the videos that we had within our Video document libraries wouldn't play on the iPad. We did the same exact thing: set the MIME types, set the Web Application Browser Handling to Permissive, set the list to be anonymous....however still couldn't get the videos to play on the iPad. To fix this issue we just setup a File Share to store the videos and boom! Videos worked on the iPad.


Were you able to host the videos in a SharePoint doc lib and still have it work on an iPad? Do share what you did.



Cheers,

Rufino

HTML5 Video won't play on my ipad or iphone.

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.