iPad 上的 HTML5 视频播放器
iPad Safari 上的 HTML5 视频播放器是否能够播放同等的 Flash 内容?
由于iPad不支持Flash,有什么办法可以将相同的内容转换为HTML5格式(可以在iPad上播放的东西)?如果是,HTML5 是否支持创建高度复杂的类似 Flash 的内容?
Does the HTML5 video player on the iPad Safari have the capability to play equivalent Flash content ?
Since the iPad does not have Flash support, is there any way by which the same content can be converted into an HTML5 format (something which can be played on the iPad) ? If yes, does HTML5 support creation of highly complex Flash like content ?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
我认为这是两个问题:
由于 iPad 不支持 Flash,有什么方法可以将相同的内容转换为 HTML5 格式(可以在 iPad 上播放的东西)?
出于同样的原因,您可以拍摄视频并将其转换为 .flv 格式,您可以(并且需要)将视频转换为 mp4/m4v/h.264 编解码器格式。使用 Handbrake 将视频转换为 h.264 的教程可在此处找到:http://www .simplewebtv.com/en_tutorials.html?doc=video_handbrake
请注意,您的服务器可能需要识别文件类型才能正确提供视频。可以在这里找到向 Apache 添加 Mime 类型的快速说明:http://bignosebird.com/apache/a1。 shtml
如果是,HTML5 是否支持创建高度复杂的类似 Flash 的内容?
是的,您可以使用 HTML5 完成 Flash 可以完成的大部分工作。要查看当前使用 HTML5 完成的所有事情的优秀示例(主要使用
),请参阅:
I see this as two questions:
Since the iPad does not have Flash support, is there any way by which the same content can be converted into an HTML5 format (something which can be played on the iPad) ?
By the same token that you can take a video and convert it to .flv format, you can (and will need to) convert the video to mp4/m4v/h.264 codec format. A tutorial for converting a video to h.264 with Handbrake is found here: http://www.simplewebtv.com/en_tutorials.html?doc=video_handbrake
Please note that your server may need to have the filetype identified to properly serve video. A quick description of adding Mime types to Apache is found here: http://bignosebird.com/apache/a1.shtml
If yes, does HTML5 support creation of highly complex Flash like content ?
Yes, you can do much of what can be done with Flash with HTML5. To see great examples of all the things currently being done with HTML5 (using mostly
<Canvas>
), see:就视频而言,这是一篇关于该主题的非常好的文章: http://diveintohtml5.ep.io /video.html
如果您正在寻找交互式内容的解决方案,请查看 http://swiffy.googlelabs.com/
This is a pretty good article on the topic as far as video is concerned: http://diveintohtml5.ep.io/video.html
If you are looking for a solution for interactive content have a look at http://swiffy.googlelabs.com/
Flash 播放 MP4 视频文件。
HTML5 视频还可以播放 MP4 视频文件(Firefox 除外,它需要 WebM 或 Ogg)。
所以基本上答案是:是的。
Flash plays MP4 video files.
HTML5 video can also play MP4 video files (except on Firefox which requires WebM or Ogg).
So basically the answer is: Yes.