简体   繁体   English

适用于iPhone和Android的HTML5视频

[英]HTML5 video for iPhone and Android

According to http://www.treysmithblog.com/how-to-make-html5-videos-for-iphone-and-ipad/ 根据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. 要在具有HTML5的iPhone上播放视频,我们应该使用QuickTime转换mp4文件。 After transforming the mp4 file, is it also support for Android and other OS like windows, linux? 转换mp4文件后,它是否还支持Android和其他操作系统,例如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. 我不确定Android对html5视频支持哪种格式,或者甚至支持。 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. Google提出了一个观点,即默认情况下,所有浏览器都应支持开源WebM格式,他们购买了该WebM格式,然后将其开源。 I believe this is the default format for the Desktop Chrome browser. 我相信这是台式机Chrome浏览器的默认格式。 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. Windows将支持您已安装编解码器的任何格式,因此,如果用户安装了Quicktime,则mp4应该可以运行,否则可能无法运行。 If you supply a fallback of Flash video, then most newer versions of Android should support that. 如果您提供Flash视频的后备版本,则大多数较新的Android版本均应支持。

Good Luck! 祝好运!

ps You may want to take a look at this. ps 你可能想看看这个。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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