Internet Explorer 7 与 YouTube iframe API 的兼容性? [英] Internet Explorer 7 compatibility with YouTube iframe API?

查看:50
本文介绍了Internet Explorer 7 与 YouTube iframe API 的兼容性?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想知道是否有人可以回答这个问题.我使用 Youtube API 请求 onReady() 和 OnStateChange() 事件,并使用 IFRAME 嵌入视频.

I wonder if anyone can answer this question. I use the Youtube API to request onReady() and OnStateChange() events and using an IFRAME to embed the video.

虽然我在 IE7 中遇到了事件未触发的问题.我了解 IE 浏览器 IE 7 及以下版本存在回调兼容性问题.

Though I come across an issue with IE7 where the events are not firing. I understand there is a callback compatibility issue with IE browsers IE 7 and below.

有没有办法解决这个问题?也许使用闪存 API 版本?

Is there a work around this? Maybe using the flash API version?

如果有的话,有人可以帮忙吗?

if so could anyone help?

推荐答案

引用自 文档:

最终用户必须使用支持 HTML5 的浏览器postMessage 功能.不过,大多数现代浏览器都支持 postMessageInternet Explorer 7 不支持.

The end user must be using a browser that supports the HTML5 postMessage feature. Most modern browsers support postMessage, though Internet Explorer 7 does not support it.

这篇关于Internet Explorer 7 与 YouTube iframe API 的兼容性?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆