homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Home / Forums Index / Code, Content, and Presentation / Flash and Shockwave
Forum Library, Charter, Moderator: open

Flash and Shockwave Forum

Embedding an MP4 in flash

WebmasterWorld Senior Member 5+ Year Member

Msg#: 3837384 posted 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

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



WebmasterWorld Senior Member rocknbil us a WebmasterWorld Top Contributor of All Time 10+ Year Member

Msg#: 3837384 posted 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.

Global Options:
 top home search open messages active posts  

Home / Forums Index / Code, Content, and Presentation / Flash and Shockwave
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved