开发者

passing in parameters using param tag and flashvars param

开发者 https://www.devze.com 2023-02-05 18:06 出处:网络
I\'m very new to flash and I don\'t intend on using it much I have just had to solve an issue (which seems age old) where the flash video on my page was sitting on top of everything else.

I'm very new to flash and I don't intend on using it much I have just had to solve an issue (which seems age old) where the flash video on my page was sitting on top of everything else.

I read almost everywhere that the wmode parameter had to be set to opaque (some said it could be either opaque or transparent). When setting this through the flashvars parameter (this is in Chrome btw) this did nothing. After a while of getting frustrated, I added it as a parameter itself through addParam, and hey presto now it works.

Is this a simply a Chrome thing? FF it works seamlessly开发者_开发问答 as it was. Even IE 7 and 8 are behaving slightly better. I wondered if this was a bug because supposedly adding a parameter to flashvars should do the trick.

I just wanted some clarity on the difference of and the flashvars param.


It's easy, the WMODE parameter is not a FlashVar at all, it's self-contained embed code parameter.

Have a look here: Flash OBJECT and EMBED tag.

0

精彩评论

暂无评论...
验证码 换一张
取 消