Welcome to WebmasterWorld Guest from 126.96.36.199 , register , login , search , subscribe , help , library , PubCon , announcements , recent posts , open posts Subscribe to WebmasterWorld
Embedding an MP4 in flash andrewsmd msg:3837386 2:30 pm on Jan 29, 2009 (gmt 0) 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
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 msg:3837461 3:51 pm on Jan 29, 2009 (gmt 0)
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.