Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

General Discussion

VIDEO FORMAT SUPPORT FOR iPAD and MOBILE

Hello

I am using below formats of video. But, video is not opening on iPad and mobile device.Which format should I use for the support on iPad and mobile?? video/mp4; video/webm; video/flv; video/mp4; video/mkv; video/swf

<source src="images/ad4555.mp4" type="video/mp4"> <source src="images/ad4555.webm" type="video/webm"> <source src="images/ad4555.flv" type="video/flv"> <source src="images/ad4555_mpeg4.mp4" type="video/mp4"> <source src="images/ad4555_xvid.mkv" type="video/mkv"> <source src="images/ad4555.swf" type="video/swf">

<source src="images/ad4555.mp4" type="video/mp4"> <source src="images/ad4555.webm" type="video/webm"> <source src="images/ad4555.flv" type="video/flv"> <source src="images/ad4555_mpeg4.mp4" type="video/mp4"> <source src="images/ad4555_xvid.mkv" type="video/mkv"> <source src="images/ad4555.swf" type="video/swf">

1 Answer

Video mp4 should work fine on ipad.