I can't figure out how to set the wmode for 1pixelout player (or even all swf objects). I am displaying several players in a view using table view, and I want to make the background for the player transparent so it doesn't show a large white rectangle. I have attempted to look through swftools.module and onepixelout.module for default param settings. No matter what, there is still the white rectagle, and the source has the
.

Any ideas or help is greatly appreciated.

Comments

gafir777’s picture

In swftools.module

line 847, you'll see: 'wmode' => variable_get('swftools_params_wmode', 'opaque'),

Now, there are many better ways to change than just changing the 'opaque' to 'transparent', but this is what you need to change.

thetaconman’s picture

What better ways are there to take care of it?

Thanks for your help

thetaconman’s picture

Also, looking over swftools.module, I realized that I've actually tried that, and it didn't fix my problem.

Do you have any other advice?

siliconvalet’s picture

Worked like a charm! Thanks!

matt b’s picture

<?php print swf($output, array('params' => array('height'=>25, 'width'=>200, 'wmode'=>'transparent'))); ?>
Where $output is the path of the file.