Saturday, September 25, 2010

Embed A SWF File Without Using SWFObject

Flash Video

This method can be used to load SWF files into your blog or other SWF files located on the web. The SWF file and all assets of course must be on a web server.

We call the Macromedia flash plugin to play the SWF file instead of the SWFObject JavaScript. Here the OBJECT and EMBED tags are meant for different browsers for the video's smooth operation.

<object id="whatever" 
width="400" height="300" 
<param name="src" value=""/>  
<param name="bgcolor" value="#FFFFFF"/>  
<param name="quality" value="best"/>  
<embed name="whatever" src="" 
width="400" height="300" bgcolor="#FFFFFF" 

You can also include the video parameters like loop, quality, bgcolor, etc. for the SWFObject embedding as well.

No comments:

Post a Comment

Related Posts Plugin for WordPress, Blogger...