SitePoint Sponsor

User Tag List

Results 1 to 4 of 4
  1. #1
    SitePoint Enthusiast
    Join Date
    May 2010
    Posts
    35
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Embedding iPhone compatible web video

    I am an intern re-designing my boss's website and a very important part of his business is the iPhone market. He recently launched an app that has reached 500 000 downloads.

    The video demonstrations that I want to encode and embed on his website MUST be viewable by iPhone users. Previously they were flash, but obviously that is no longer an option because the platform does not support it. They must also be a reasonable size because people will be using their 3G capability.

    I have looked into it and it looks like h.264/mpeg-4 is the type of video file I should embed. Is this the right choice? Can someone refer me to a guide or tutorial that explains the details of embedding this type of video correctly? I want to ensure that the video samples cannot be saved onto the users' devices just like You Tube video.

  2. #2
    SitePoint Mentor NightStalker-DNS's Avatar
    Join Date
    Jul 2004
    Location
    Cape Town, South Africa
    Posts
    2,873
    Mentioned
    44 Post(s)
    Tagged
    0 Thread(s)
    Yes, h.264 is a good option. As it is a very compatible format. You will want to use the html5 video tag. As iPhone and many other smartphones support html5. So just do some googling on that. Just know, that Firefox will not support that video format in html 5, as it is not an open source format, which goes against their way of thinking. So the moving forward of html5 is going to have issues like this. But it will work on iPhone, which is what you are looking for

  3. #3
    Follow: @AlexDawsonUK silver trophybronze trophy AlexDawson's Avatar
    Join Date
    Feb 2009
    Location
    England, UK
    Posts
    8,111
    Mentioned
    0 Post(s)
    Tagged
    1 Thread(s)
    This video explains the best way to go about it (h.264 with a Flash fall-back):

    http://net.tutsplus.com/tutorials/ht...back-to-flash/ <<< Hope it's useful

    PS: You can't prevent the video being downloaded... otherwise the end-user wouldn't be able to view it.

  4. #4
    SitePoint Enthusiast
    Join Date
    May 2010
    Posts
    35
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks for the answers. The fallback option is useful because hey I just realized I'm gonna have to make sure that non-safari people can also view the stuff.
    Thanks everyone.


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
  •