By thetaconman on
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
In swftools.module On line
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.
What better ways are there to
What better ways are there to take care of it?
Thanks for your help
Also, looking over
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?
Worked!
Worked like a charm! Thanks!
Pass wmode as a parameter to swf - don't hack the module
<?php print swf($output, array('params' => array('height'=>25, 'width'=>200, 'wmode'=>'transparent'))); ?>Where $output is the path of the file.