简体   繁体   中英

HTML5 video for iPhone and Android

According to http://www.treysmithblog.com/how-to-make-html5-videos-for-iphone-and-ipad/

To play video on iPhone with HTML5, we should using QuickTime to transform the mp4 file. After transforming the mp4 file, is it also support for Android and other OS like windows, linux?

Thanks

If only it were that simple. I'm not sure what format Android supports for html5 video, or if it even does. Google put out an opinion piece that by default all browsers should support the open source WebM format, which they purchased and then open sourced. I believe this is the default format for the Desktop Chrome browser. Windows will support any format that you've installed a codec for, so if the user has Quicktime installed mp4 should work, if not maybe not. If you supply a fallback of Flash video, then most newer versions of Android should support that.

Good Luck!

ps You may want to take a look at this.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM