homepage Welcome to WebmasterWorld Guest from 107.22.70.215
register, free tools, login, search, subscribe, help, library, announcements, recent posts, open posts,
Pubcon Platinum Sponsor
Home / Forums Index / Code, Content, and Presentation / Flash and Shockwave
Forum Library, Charter, Moderator: open

Flash and Shockwave Forum

    
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

<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




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.

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.
Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About
© Webmaster World 1996-2014 all rights reserved