Stop Youtube player in IE7 (using Rob W solution)

感情迁移 提交于 2019-12-13 07:08:12

问题


I'm using this script made by Rob W and everything works fine except for IE7.

Here it is the jsfiddle page. I've also tried importing this to enable JSON on IE, but it still doesn't work on IE7.

There is a way to solve this problem?


回答1:


Unfortunately, there is no way to solve this problem (except for upgrading browser), because IE7 does not support the postMessage method. This method is required, because it's the only way to communicate with the embedded YouTube frame.

postMessage on frames is supported requires IE8+. All of the other modern browsers have full support for the postMessage method.



来源:https://stackoverflow.com/questions/9326905/stop-youtube-player-in-ie7-using-rob-w-solution

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!