www.webdeveloper.com
Results 1 to 3 of 3

Thread: What's the Best Format to Post Video for Web

Hybrid View

  1. #1
    Join Date
    Oct 2009
    Posts
    44

    What's the Best Format to Post Video for Web

    What's the best video format to use so it'll play in:

    • FireFox
    • Internet Explorer
    • Safari
    • Chrome


    and also be compatible with iPhone (this one is absolutely necessary), Mac & PC.

    Thanks!

  2. #2
    Join Date
    Feb 2008
    Location
    NW Washington State
    Posts
    1,856
    Well with your caveat, "must play in iPhone", then the real and only important question is "what is the best video format for the iPhone".
    Far as I know, iPhone only supports mp4, .m4v, or .mov. mp4 is good...
    But whichever of those 3 you choose, there will be problems in the 4 browsers you listed, not because of the browser but because the browser may lack the pluggin needed to paly the video. Those 3 formats used on the iPhone are not yet that popular, and a large percentage of the Web browsers out there will not have the required plugin.
    By far the most widely used video format for those browsers listed is Flash.. but it doesn't work in the iPhone.
    However, depending on how much effort you want to put into making your video available to the widest audiance, you can offer both a Flash version and an mp4 (or mov) version and use javascript to detect if there is a Flash plugin... if not, the mp4 version plays. If the browser has the Flash plugin, then the Flash version plays.
    Here is a sample page that does just that using swfobject to detect and play the Flash if plugin is available, if not, plays .mov.
    http://www.cidigitalmedia.com/tutorials/qt/play_qt.html
    So you can, in effect, play Flash on the iPhone.
    The page also demonstrated how to sandwich Flash between 2 layers of text using CSS z-indexing and declared positions..... that's why the text looks funny.
    Best wishes,
    Eye for Video
    www.cidigitalmedia.com

  3. #3
    Join Date
    Oct 2009
    Posts
    44

    Resolution

    Thank you, Eyes for Media! I think I'll go the swfobject route. Great idea.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles