Vimeo iframe 内容在 ie7 中不显示
这几天来一直让我抓狂。 我为 Rapidweaver 平台开发了一个插件,使用户可以轻松地将 Vimeo 视频放入灯箱中。 我在 IE7 中测试时遇到问题。视频内容不显示。 您可以在此处查看测试页面: http://www.garysimpson.co.uk/sandpit /sandpit.html
该插件已从 Vimeo 生成缩略图,单击它会在灯箱中打开视频。 我正在运行 ie7 的 Windows XP 机器上进行测试。我测试过的所有其他浏览器都工作正常。 非常感谢任何指点。
This has been driving me nuts for days.
I have developed a plugin for the Rapidweaver platform, that makes it easy for a user to have Vimeo videos in a light-box.
I have a problem in testing in IE7. The video content does not get displayed.
You can see a test page here : http://www.garysimpson.co.uk/sandpit/sandpit.html
The plugin has generated the thumbnail from Vimeo and clicking it opens the video in a light-box.
I am testing on a windows xp machine running ie7. All other browsers i have tested in work fine.
Any pointers much appreciated.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
啊 IE7...我感受到你的痛苦加里!我最近在一个项目中遇到了类似的问题。以
display:none
或类似内容开始隐藏的嵌入内容似乎存在问题。我解决这个问题的方法是仅在激活灯箱时删除并重新添加 IE 的视频内容。例如:编辑:您可以尝试将此技术与旧版嵌入代码一起使用,而不是使用 iframe。
进一步编辑:在 Browserstack 中进行一些测试时,它看起来可以在 IE7 中工作。它可能是特定于您的测试环境的。 ! IE7 窗口的屏幕截图。
Ah IE7...I feel your pain Gary! I had a similar issue on a project recently. There seems to been a problem with embedded content that starts of hidden with
display:none
or similar. The way I got round it was to remove and re-add the video content for IE only when the lightbox was activated. For example:EDIT: You could try using this technique with the legacy embed code, instead of the iframe.
FURTHER EDIT: On doing some testing in Browserstack it looks to be working in IE7 for me. It may be something specific to your test environment. ! Screen shot of IE7 window.