Vimeo - 嵌入在 IE 中不起作用

发布于 2024-12-10 08:55:26 字数 415 浏览 2 评论 0原文

我为客户开发了一个页面,但发生了一些非常奇怪的事情: http://cpdlectures.com/IStructE/Default.aspx

此 Vimeo 视频可以在 Chrome、Mozilla 等内部运行。在 IE 中不起作用。

我一开始以为可能是脚本错误什么的,所以:

  1. 我按F12打开开发者工具,
  2. 点击脚本,
  3. 刷新页面看JS代码执行,
  4. 视频正常了!

关闭开发者工具,刷新后视频仍然有效。关闭浏览器,重新打开,又坏了,不打开开发者工具刷新,还是坏了。

什么?微软现在正在其浏览器中实施观察者效应吗?

怎么会这样呢?

I've developed a page for a client and something really weird is happening:
http://cpdlectures.com/IStructE/Default.aspx

This Vimeo video works inside of Chrome, Mozilla etc. But it doesn't work in IE.

I initially thought it might be scripting error or something, so:

  1. I hit F12 to open my developer tools,
  2. Click Script,
  3. Refresh page to watch the JS code execution,
  4. Video works!

close Developer tools, video still works after refresh. Close the browser, reopen, broken again, refresh without opening developer tools, still broken.

What? Are Microsoft implementing the Observer effect into their browsers now?

How can this be?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

☆獨立☆ 2024-12-17 08:55:26

就我而言,问题在于更新 Flash!

请参阅上面的 Vimeo 和下面的 Youtube 的打印内容 (WinXP - IE8)。上传之前和之后。

之前:

上传前

之后:

“上传后”

In my case, the problem was updating the Flash!

See the print with Vimeo above and Youtube below (WinXP - IE8). Before and after upload.

Before:

Before Upload

After:

After Upload

嘿看小鸭子会跑 2024-12-17 08:55:26

我已经在 IE9 中测试了您提供的链接,视频播放正常。然后,我将 IE 工具栏中的浏览器模式更改为在 IE8 和 IE7 中呈现,并且视频在这两种浏览器模式下都能正确播放。我认为您可能有该网站的缓存版本,建议清除 IE 浏览器缓存。

工具>互联网选项>常规选项卡>浏览历史>删除...>>确保选择“Internet 临时文件”。

如果这不起作用,您能否让我们知道您正在使用的 IE 版本,并可能提供您的代码示例?

I have tested the link you provided in IE9 and the video played fine. I then changed the Browser Mode in the IE Toolbar to render in IE8 and IE7 and the video played correctly in both those browser modes. I think you may have a cached version of the website and suggest clearing your IE browser cache.

Tools > Internet Options > General Tab > Browsing History > Delete... > Make sure "Temporary Internet Files" is selected.

If that doesnt work could you let us know what version of IE you are using and perhaps provide a sample of your code?

无言温柔 2024-12-17 08:55:26

我有类似的要求,我正在使用 Froogaloop 将事件就绪处理程序添加到 Vimeo iframe。

该视频最初是隐藏的,但当用户单击自定义启动屏幕上的播放按钮时会播放该视频。

该问题仅出现在 IE 中(尝试了 8 - 10)。其他浏览器运行良好。

事实证明,如果视频最初没有隐藏(不显示),则没有问题。

作为一个快速解决方案,我将视频从屏幕上偏移了。窗口准备好后,我将视频移回视图中,同时隐藏它。这修复了使用 Froogaloop 在 IE 中未触发玩家就绪事件的问题。

I had a similar requirement, and I'm using the Froogaloop to add the event ready handler to the Vimeo iframe.

The video is initially hidden, but plays when user clicks on the play button on a custom splash screen.

The problem only occurred in IE (tried 8 - 10). Other browsers worked perfectly.

Turns out IF the video is not initially hidden (display none), there is no issue.

As a quick fix, I've offset the video from the screen. Upon window ready, I move the video back into view while hiding it simultaneously. This fixed the player ready event not firing in IE, using Froogaloop.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文