PDA

View Full Version : MP4 playback?


admiral
09-19-2006, 09:10 PM
Hey guys,
do any of you know if it is AT ALL POSSIBLE to use an SWF file to play back an external MP4 file?

The flasd document that I'd like to write should be able to use an XML file that contains the location of the MP4, so I could say... use PHP to generate that XML so that depending on certain PHP form input, the flash file would play back any specified MP4 file.

I know that it's possible to do all of the above with FLVs(I can, right?), but I'll be using a linux/unix server to generate the MP4s for me through another process entirely. That, and I really like MP4. The sole objective is to NOT have to transcode out of MP4(which I like) to any other format.

Can it be done? If it possible to use a flash progress bar/play/pause/stop/fastforward/rewind interface to display and control the playback of an external MP4 file?

Thanks,
-Admiral

Rossman
09-19-2006, 10:35 PM
Flash can only natively play FLV files, but if MP4 can be played with either Windows Media Player or Quicktime, you might have some success at scripting those plug-ins using javascript, and then calling the javascript from your Flash movie.