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
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
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:
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