I was wrong. You just need to change your metadata to use params instead of attrs. So instead of this:
attrs:{quality:'high',align:'middle',bgcolor:'#000000',menu:false}} use this: params:{quality:'high',align:'middle',bgcolor:'#000000',menu:false}} Mike On 7/19/07, Mike Alsup <[EMAIL PROTECTED]> wrote:
Hi Alexandre, I think this is a bug in the media plugin. I'll dig into it. Mike On 7/19/07, Alexandre Plennevaux <[EMAIL PROTECTED]> wrote: > > > hi Mike, > > i can't seem to find the solution, i suspect this may be a bug in the media > plugin or in the metadata plugin. Setting the bgcolor to #000000 does not > work in Internet Explorer 7 (although it works on firefox 2) > > > here is my html code: > > <p > style="margin:auto;width:240px;text-align:center;background-color:#000000;padding:0"> > > <a class="media > {width:240,height:280,caption:false,attrs:{quality:'high',align:'middle',bgcolor:'#000000',menu:false}}" > href="<?php echo > WWWROOT.'presentation/'?>1_rgb_clock/rgb_clock.swf">RGB > Clock</a> > > </p> > > the output in firefox (it works):<div style="background-color: rgb(255, 255, > 255); width: 240px;" class="media > {width:240,height:280,caption:false,attrs:{quality:'high',align:'middle',bgcolor:'#000000',menu:false}}"> > <embed style="display: block;" > src="http://localhost/lab-au.com/v1/dexia/2007/cc/presentation/1_rgb_clock/rgb_clock.swf" > quality="high" menu="false" type="application/x-shockwave-flash" > pluginspage="http://www.adobe.com/go/getflashplayer" > bgcolor="#000000" autoplay="false" flashvars="" align="middle" height="280" > width="240"></div> > > the output in internet explorer. As you can see, the object attribute is > correct, but it also has a param for bgColor that is set to white. > > > > <OBJECT > codeBase=http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7 > > type="application/x-oleobject" height="280" width="240" align="middle" > classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" > menu="false" > bgcolor="#000000" quality="high"> > <PARAM > value="http://localhost/lab-au.com/v1/dexia/2007/cc/presentation/1_rgb_clock/rgb_clock.swf" > name="src" /> > <PARAM value="#ffffff" name="bgColor" /> > <PARAM value="false" name="autoplay" /> > <PARAM value="" name="flashvars" /> > </OBJECT> > > > any idea ? > > thanks ! > > Alexandre > > > Ce message Envoi est certifié sans virus connu. > Analyse effectuée par AVG. > Version: 7.5.476 / Base de données virus: 269.10.9/907 - Date: 18/07/2007 > 15:30 >