Can't show .mov file on html5 video tag on iPhone

user1934266 picture user1934266 · Dec 28, 2012 · Viewed 12.1k times · Source

I tried different ways to show a .mov video ("ISO Media, Apple QuickTime movie" on linux) in HTML5 page with Iphone, but it isn't working.

My code is:

<video width="320" height="240">
 <source src="test.mov">
</video>

With all desktop browser (chrome, firefox....) I can show the video.

Any Idea?

Thanks in advance.

Answer

ashisrai_ picture ashisrai_ · Mar 14, 2014

Instead of using <source> tag use <src> attribute of <video> as below and you will see the action.

<video width="320" height="240" src="test.mov"></video>