Jump to content

Recommended Posts

Hey guys, I'm having a go at validating one of my websites using the W3 validator. The website contains flash and I get the following message from the validator with regard to the Flash

 

 

there is no attribute "WMODE".

 

 

I need WMODE to make the Flash movie tranparent. My Flash embed coding is


<object
type="application/x-shockwave-flash" data="images/banner04.swf" 
width="800" height="170">
<param name='wmode' value='transparent' >
<param name="movie" value="images/banner04.swf" wmode='transparent'>
</object>


 

Can anyone help me with this issue?

Link to comment
https://forums.phpfreaks.com/topic/149229-solved-there-is-no-attribute-wmode/
Share on other sites

I placed



<div id="flashcontent">
  This text is replaced by the Flash movie.
</div>

<script type="text/javascript">
   var so = new SWFObject("images/banner04.swf", "mymovie", "800", "170", "6.0", "#336699");
   so.addParam("quality", "low");
   so.addParam("wmode", "transparent");
   so.addParam("salign", "t");
   so.write("flashcontent");
</script>

Into my body and downloaded the swfobject.js file and added the source refference in the header of the page like so 

[code]

		<script type="text/javascript" src="./js/swfobject.js"></script>

[/code]

 

But I just get the message in the DIV?

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.