Jump to content

[SOLVED] there is no attribute "WMODE".


mark110384

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?

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.