Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

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.

like image 968
user1934266 Avatar asked Oct 21 '22 21:10

user1934266


1 Answers

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>
like image 124
ashisrai_ Avatar answered Oct 25 '22 19:10

ashisrai_