View Full Version : HTML5 Video with iPhone
<video width="480" height="272" controls autobuffer>
<source src="http://www.domain.com/videos/video.mp4" type="video/mp4" />
</object>
</video>
For some reason the iPhone (iPod Touch) refuses to play that, any ideas why? (Excluding the fact I replaced the domain in the example)
Thanks.
http://www.treysmithblog.com/how-to-make-html5-videos-for-iphone-and-ipad/
Not sure if that's any help?
Your closing an object tag but you don't seem to have an opening object tag.
Source
27-06-2010, 12:06 AM
If you get the quicktime-esque play button but then it gives you 'Unable to play video', that means the video is encoded correctly for that device.
iOS uses h.264 with AAC audio I believe. What's the format you are feeding it?
Its ffmpeg with AAC audio, but I know the iPhone plays that.
And Blob, it can't be that because it displays fine on Safari 5.
Source
27-06-2010, 02:04 PM
PM me a link to the video and I can tell you if the file is encoded correctly. 'FFMPEG and AAC' is anything but a technical response considering the amount of different formats FFMPEG can output. Is it x264 with AAC audio, and have you checked that the bit rates aren't higher than supported.
Want to hide these adverts? Register an account for free!
Powered by vBulletin® Version 4.2.5 Copyright © 2025 vBulletin Solutions Inc. All rights reserved.