Forum Moderators: open

Message Too Old, No Replies

Embedding an MP4 in flash

         

andrewsmd

2:30 pm on Jan 29, 2009 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Does anyone know how to make an MP4 file play with flash? Every time I try to embed it in HTML, it plays in quicktime. I would like to play them in flash player. Thanks, here is my code

<OBJECT CLASSID="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B"
CODEBASE="http://www.apple.com/qtactivex/qtplugin.cab" WIDTH="160" HEIGHT="136" >
<PARAM NAME="src" VALUE="loginCallout.mp4" >
<PARAM NAME="autoplay" VALUE="false" >
<EMBED SRC="loginCallout.mp4" TYPE="image/x-macpaint"
PLUGINSPAGE="http://www.apple.com/quicktime/download" WIDTH="600" HEIGHT="600" AUTOPLAY="false"></EMBED>
</OBJECT>

rocknbil

3:51 pm on Jan 29, 2009 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Your classid and probably your local settings for mp4 are all pointing to QuickTime. You need to import the mp4 into a Flash program, then export it as an .swf from Flash. When you publish from Flash, it will generate the (sorta) correct HTML code. If you don't have Flash, you can use Swish or SwishMax.