使用 param tag 和 flashvars param 传入参数
我对 Flash 很陌生,我不打算太多地使用它,我只是必须解决一个问题(这似乎是老问题),即我页面上的 Flash 视频位于其他所有内容之上。
我几乎到处都读到 wmode 参数必须设置为不透明(有人说它可以是不透明或透明)。当通过 flashvars 参数设置它时(顺便说一句,这是在 Chrome 中),这没有任何作用。经过一段时间的沮丧之后,我通过 addParam 将其添加为参数本身,嘿,现在它可以工作了。
这只是 Chrome 的事情吗? FF 它可以像以前一样无缝地工作。甚至 IE 7 和 8 的表现也稍好一些。我想知道这是否是一个错误,因为据说向 flashvars 添加一个参数应该可以解决问题。
我只是想清楚地了解 flashvars 参数和 flashvars 参数的区别。
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.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
很简单,WMODE 参数根本不是 FlashVar,它是独立的嵌入代码参数。
请查看此处:Flash OBJECT 和 EMBED 标记。
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.