www.webdeveloper.com
Results 1 to 4 of 4

Thread: iPhone Web Video Not Working

Hybrid View

  1. #1
    Join Date
    Oct 2009
    Posts
    44

    iPhone Web Video Not Working

    I placed a video online that is supposed to play on the iPhone. Oddly, it plays fine on my 3G iPhone (OS 3), but my client's 3GS iPhone (OS 4) won't play it. He either receives an error message or it just doesn't play...

    Following are the files I'm referencing:

    http://www.glowsound.com/sound-design.html (in the iPhone, please click on the image that says "Logos" to view the video)

    Here's the actual "m4v" video that is supposed to play:
    http://www.glowsound.com/logossoftware.m4v

    ALTERNATE:
    Here's a "mov" version that also didn't work:
    http://www.glowsound.com/test.html

    "mov" file:
    http://www.glowsound.com/101510/logos2/logos2.mov

    Thanks for your help!

  2. #2
    Join Date
    Feb 2008
    Location
    NW Washington State
    Posts
    1,856
    I'd recommend redoing your swf "alternate content" to include a Quicktime Player. Right now you are including the.m4v but not including the player to play it.
    So the basic layout of your Flash div would be:
    The complete code for the QT player to play the .m4v or .mov. then after you have that working, and only after you have that working, you include the swfobject content. This would typically be a Flash player to play Flash video.
    So as the page is parsed, it comes to the Flash div, finds some Flash content, swfobject looks for the Flash plugin... if it finds it, it displays the Flash content, if it does not find it, it displays the "alternate content", which is a regular old QT player.... not just a .mov file.
    Also, dont know why you have the IE conditional statement... really not needed.
    Here is a sample page which plays Flash video on the iPhone.... well OK, it plays the "alternate content", a .mov file.
    http://www.cidigitalmedia.com/tutorials/qt/play_qt.html
    The page also demonstrates how to sandwich Flash between two layers of text... so that's why the text looks a little funny. Visit the page and look at the source code to see how to use a QT player as alternate content for a Flash player.
    Best wishes,
    Eye for Video
    www.cidigitalmedia.com

  3. #3
    Join Date
    Oct 2009
    Posts
    44

    embedding iPhone video

    Thank you very much for your code example, explanation, etc. Seriously, it saved the day and the end result is very clean and smooth running!

    May God return blessings upon you many times over.

    Cheers!

  4. #4
    Join Date
    Feb 2008
    Location
    NW Washington State
    Posts
    1,856
    Glad it worked out so well for you!
    I'm just passing on, in some small way, all the help and advice I've been given over the years.
    Best wishes,
    Eye for Video

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