youtube video player for iphone
A Flash Developer Resource Site

Results 1 to 4 of 4

Thread: youtube video player for iphone

  1. #1
    Member
    Join Date
    Oct 2003
    Location
    nek vermont
    Posts
    49

    youtube video player for iphone

    Hi all

    so, I got this video player component that looks great except it doesn't show up on an iphone and I'm not flash 5 yet.

    http://www.flashcomponents.net/compo...streaming.html

    I've been searching about trying to find info on a component that is similar and not flash based but haven't had any luck so far.

    Any suggestions? How would I go about putting alternate content up? What is the solution for iphones and video components? Would love some tutorials

  2. #2
    Senior Member
    Join Date
    Sep 2010
    Posts
    324
    One simple option is to use swfobject to place alternate content on the web page. If the target is video on the iPhone, then use a .mov media player as the "Alternate content".
    Here's an example of a Flash video that plays on the iPhone.... well sort of:
    http://www.cidigitalmedia.com/tutorials/qt/play_qt.html
    View the source code to see how it's done.
    The page also demonstrates how to sandwich Flash between 2 layers of text.. so that's why the text looks a little funny.
    Here for swfobject:
    http://code.google.com/p/swfobject/
    Best wishes,
    Video Man

  3. #3
    Member
    Join Date
    Oct 2003
    Location
    nek vermont
    Posts
    49
    Thanks so much- I'm looking into the swfobject. There are so many flash components and customizable interfaces but I can't find anything that I can embed that's not flash. Any clues on where to look for a .mov player? I've always gone with flashcomponents.com and activeden.

    Is there an updated place to go and get the latest info on compression and buffering for the web? Even here on FK the stickies/FAQs are all a bit outdated. cheers

  4. #4
    Senior Member
    Join Date
    Sep 2010
    Posts
    324
    swfobject is not Flash, it's javascript used to detect if the web browser has the Flash plug-in or not.
    I believe that this is the line that gets the Quicktime player:
    Code:
    codebase="http://www.apple.com/qtactivex/qtplugin.cab"
    You are welcome to copy the source code from the example above.... there's your Quicktime player that plays .mov files.
    As for compression and buffering.. I've written lots about it before, here's just a small sample:
    http://www.actionscript.org/forums/s....php3?p=973278
    The buffering will occur automatically as the file is progressively downloaded. About the only thing you can change is to set the number of seconds of video you want to download before the video file plays for the FIRST time. Otherwise, the buffer will fill up as fast as the Internet connection download speed will allow and it will be emptied out at the bitrate of the video.
    If the download speed is greater than the bitrate.. video plays uninterruped.
    One more thing with .mov files.... they will not progressive download unless the moov atom is correctly set...
    Best wishes,
    Video Man
    Last edited by Video Man; 11-15-2010 at 04:09 PM.

Posting Permissions

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




Click Here to Expand Forum to Full Width


HTML5 Development Center

Poll by Flashkit.com