开发者

HTML5 video player on iPad

开发者 https://www.devze.com 2023-04-01 14:48 出处:网络
Does the HTML5 video player on the iPad Safari have the capability to play equivalent Flash content ?

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 wh开发者_运维问答ich can be played on the iPad) ? If yes, does HTML5 support creation of highly complex Flash like content ?


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://www.html5rocks.com/en/tutorials/#canvas
  • http://aerotwist.com/lab/
  • http://www.canvasdemos.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 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.

0

精彩评论

暂无评论...
验证码 换一张
取 消