Embed Flash (swf) in HTML


<OBJECT CLASSID="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"

WIDTH="850"

HEIGHT="610"

CODEBASE="http://active.macromedia.com/flash5/cabs/swflash.cab#version=5,0,0,0">

<PARAM NAME="MOVIE" VALUE="embedded.swf">

<PARAM NAME="PLAY" VALUE="true">

<PARAM NAME="LOOP" VALUE="true">

<PARAM NAME="QUALITY" VALUE="high">

<PARAM NAME="SCALE" value="noborder">

<EMBED SRC="embedded.swf"

WIDTH="850"

HEIGHT="610"

PLAY="true" 

LOOP="true"

QUALITY="high" 

scale="noborder"

PLUGINSPAGE="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"> 

</EMBED>

</OBJECT>

or you can try the simple code,

<object width="550" height="400">

<param name="movie" value="embedded.swf">

<embed src="embedded.swf" width="850" height="610">

</embed>

</object>

5 Responses

  1. Hi! I’m putting the Flash in the design, not on the posts or pages. When i embed the .swf it doesn’t render. I mean, it is there, the size and flash right click stuff, but the flash doesn’t render… What happen? How to render flash in WordPress design? A help would be appreciated. Thanks!

  2. try

    1. i have one html file, embed.htm, like this

    <html>
    <head><title>embed flash wordpress</title></head>

    <BODY MARGINWIDTH=”0″ MARGINHEIGHT=”0″ LEFTMARGIN=”0″ RIGHTMARGIN=”0″ TOPMARGIN=”0″ BOTTOMMARGIN=”0″ oncontextmenu=”javascript:return false”>

    <OBJECT
    CLASSID=”clsid:D27CDB6E-AE6D-11cf-96B8-444553540000″
    WIDTH=”100%”
    HEIGHT=”100%”
    CODEBASE=”http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab”>

    <PARAM NAME=”MOVIE” VALUE=”http://domain/wp-content/uploads/2009/05/embed.swf”>
    <PARAM NAME=”PLAY” VALUE=”true”>
    <PARAM NAME=”LOOP” VALUE=”false”>
    <PARAM NAME=”QUALITY” VALUE=”high”>
    <PARAM NAME=”SCALE” VALUE=”NOBORDER”>
    <PARAM NAME=”MENU” value=”false”>
    <PARAM NAME=”SCALE” VALUE=”showall”>

    <EMBED
    SRC=”http://domain/wp-content/uploads/2009/05/embed.swf”
    WIDTH=”100%”
    HEIGHT=”100%”
    PLAY=”true”
    LOOP=”false”
    QUALITY=”high”
    SCALE=”showall”
    MENU=”false”
    PLUGINSPAGE=”http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=Shockwaveflash”>
    </EMBED>
    </OBJECT>

    <body>
    </html>

    2 . i add post, using HTML tab,

    <script type=”text/javascript”><!–
    function openPopup(url,target)
    {
    var win = window.open(url, target, ‘resizable’);
    win.focus();
    return false;
    }
    // –></script>

    To see flash
    <a onclick=”return openPopup(this.href, this.target)” onmouseover=”window.status=’http://domain/’;return true;” onmouseout=”window.status=”;” href=”http://domain/wp-content/uploads/2009/05/embed.htm” target=”NewWindow”> click here</a>

  3. Ok, i will try it today. Thanks for the reply!

  4. I’ve already made it. Was a stupid mistake while debugging the .swf on Flash!🙂 Now it works. Cheers

  5. Thanks for that. It is very imformative read.
    I love to browse pandazen.wordpress.com!

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: