SitePoint Sponsor

User Tag List

Results 1 to 8 of 8
  1. #1
    SitePoint Zealot Coastal Web's Avatar
    Join Date
    Jan 2006
    Location
    Oregon, U.S.
    Posts
    131
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Question Best option to have videos on your site that work with iOS, ipad etc.

    Hi guys, I wanted to hear your thoughts on what the best option is to have videos on my site usable by as many visitors as possible.
    Currently we use flowplayer and FLVs; but users on iOS and ipads can't view the videos. So l'm looking for some of the best options out there to make sure my videos are viewable by as many users as possible.

    Regards,

  2. #2
    Mazel tov! bronze trophy kohoutek's Avatar
    Join Date
    Aug 2004
    Location
    Hamburg, Germany
    Posts
    4,248
    Mentioned
    30 Post(s)
    Tagged
    0 Thread(s)
    I'd use H.264/.MPEG4 AVC.

    Some further reading (PDF): The H.264/AVC Advanced Video Coding Standard
    Maleika E. A. | Rockatee | Twitter | Dribbble



  3. #3
    SitePoint Author silver trophybronze trophy
    wwb_99's Avatar
    Join Date
    May 2003
    Location
    Washington, DC
    Posts
    10,633
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)
    Get a 3rd party streaming service to handle transcoding a device-specific streaming. Not worth the trouble in doing yourself unless you have tons of video and lots of people to handle said video.

  4. #4
    It's all Geek to me silver trophybronze trophy
    ralph.m's Avatar
    Join Date
    Mar 2009
    Location
    Melbourne, AU
    Posts
    24,177
    Mentioned
    454 Post(s)
    Tagged
    8 Thread(s)
    You can use a few things like JW Player and jPlayer.

    There are also some handy video conversion tools like Miro Converter.

  5. #5
    Community Advisor silver trophy

    Join Date
    Nov 2006
    Location
    UK
    Posts
    2,551
    Mentioned
    40 Post(s)
    Tagged
    1 Thread(s)
    A h.264 encoded mp4, with baseline profile and level 3 will play on pretty much anything. You can use this sort of file with your existing flowplayer as a direct replacement for the flv, if you embed the flowplayer swf with swfobject, and use the video tag in the swfobject div for alternative content, then pretty much everybody will be able to play the video.

  6. #6
    ♪♪ ♪ ♪ ♪ ♪♪ ♪ ♪♪ Markdidj's Avatar
    Join Date
    Sep 2002
    Location
    Bournemouth, South UK
    Posts
    1,551
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    To make media as usable to as many users as possible then IMO it is best to make a player changer. You can either use cookies to remember users choice or you can use live javascript to control your pages.
    You can use a method like this http://www.sitepoint.com/forums/show...aScript-Method which will allow your media to continue playing between page changes by putting the player in to a static area.

    You can then change the player using changeScript("/?live=1&media=wmp") or changeScript("/?live=1&media=html5")
    You can change the file by using changeScript("/?live=1&file=fileurl")
    Or you can change both by using changeScript("/?live=1&media=html5&file=fileurl")
    Or dynamicaly by using changeScript("/?live=1&media="+playerChoice+"&file="+fileChoice)

    You can also use forms to make it work without javascript. That's what I do on my site

    I use a server-side include for the player, and then reference the same include file direct with my version of livescript - changeScript("/js/media.asp?live=1&player=wmp&file=1") (the file number is got from a list in a text file that the website owner can change in the CMS)
    LiveScript: Putting the "Live" Back into JavaScript
    if live output_as_javascript else output_as_html end if

  7. #7
    SitePoint Zealot Sogo7's Avatar
    Join Date
    May 2011
    Posts
    129
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    You may also wish to consider embracing the horror that Flash is dying
    and explore the newer HTML5 <video> tag as the primary method of
    delivery with Flash as a 'Hail Mary' fallback. Prompt users with older
    unsupported browsers to update them, otherwise you end up going
    insane catering for die hards using IE6 and Safari 4.0
    Lovelogic.net Personal Projects Pit - Spammers welcome

  8. #8
    SitePoint Author silver trophybronze trophy
    wwb_99's Avatar
    Join Date
    May 2003
    Location
    Washington, DC
    Posts
    10,633
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)
    Except the HTML5 video players suck in general compared with flash players. Most people -- even those heavily on the HTML5 bandwagon such as YouTube -- still use a flash player as a primary means of delivery.


Tags for this Thread

Bookmarks

Posting Permissions

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