swf 在
我有这个代码 http://www.bodom.eu/fsproblem 标签内有一个 .swf,当您单击全屏按钮时,它就可以工作。
当您单击 flash01 链接时,<< 中会有相同的 .swf 文件。 a>标签(在灯箱样式窗口中),它不起作用。 我所需要的只是使凹凸框窗口中的全屏按钮起作用。非常感谢。
Bumpbox 使用 mootools 和 flowplayer。
I have this code http://www.bodom.eu/fsproblem
There is one .swf within tag and when you click on full screen button, it WORKS.
When you click on flash01 link, there is the same .swf within < a> tag (in lightbox style window), where it does NOT WORK.
All I need is to make work the fullscreen button in the bumpbox window. Thank you very much.
Bumpbox use mootools and flowplayer.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您遇到的问题实际上来自 Mootools。 Mootools 有一个名为 Swiff 的 Flash 嵌入类,这是 BumpBox 在传递 SWF 时使用的类在你的链接中。
不幸的是,我认为你要么必须侵入 BumpBox 要么 Mootools 才能获得全屏许可工作。
如果您查看 BumpBox 2.0.1 的扩展版本,您将在第 372 行左右看到 Swiff 的实例化位置:
您可以在此处传递所需的附加参数,该参数看起来像这样
:必须对 Swiff 类本身进行调整。打开 Mootools 并搜索
Swiff=new Class
。这将引导您找到创建 Flash 对象的代码。从那里找到参数列表应该很容易,它看起来像:并且您只需要添加全屏权限:
The issue you're having is actually coming from Mootools. Mootools has an Flash embed class called Swiff, which is what BumpBox uses when you pass an SWF in your link.
Unfortunately, I think you're either going to have to hack into BumpBox or Mootools to get full screen permission working.
If you look into the expanded version of BumpBox 2.0.1, you will see where Swiff is instantiated, around line 372:
You may be able to pass in the additional parameter you require here, which would look something like this:
If that fails you will have to make the adjustment to the Swiff class itself. Open up Mootools and search for
Swiff=new Class
. That will lead you to the code that creates the Flash object. Finding the params list should be easy from there, it looks like:and you would just need to add the fullscreen permission: