-
HTML5 Video with iPhone
HTML Code:
<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.
-
-
Your closing an object tag but you don't seem to have an opening object tag.
-
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.
-
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.