[英]JS Works in Firefox but not loading in chrome and IE
Our js player loads correctly in firefox but doesnt run in Chrome or IE. 我们的js播放器可以在firefox中正确加载,但不能在Chrome或IE中运行。 I tried the other workarounds mentioned on stackoverflow for the following errors:
我尝试了在stackoverflow上提到的其他解决方法,以解决以下错误:
Uncaught TypeError: Object # has no method 'fancybox' 未捕获的TypeError:对象#没有方法'fancybox'
4event.layerX and event.layerY are broken and deprecated in WebKit. Webkit中的4event.layerX和event.layerY已损坏和弃用。 They will be removed from the engine in the near future.
它们将在不久的将来从引擎中删除。
But doesnt work. 但是不起作用。 I tried loading js file asynchronously but it just doesnt seem to load in chrome and IE.
我尝试异步加载js文件,但似乎未在chrome和IE中加载。
Here's our page URL: http://www.iorad.com/?a=app.htmlplayer&accessCode=GUEST&remote=true&module=3225 这是我们的页面网址: http : //www.iorad.com/?a= app.htmlplayer& accessCode= GUEST& remote= true& module=3225
Pressing the green play button should open the next slide, which you can see in firefox. 按下绿色的播放按钮应打开下一张幻灯片,您可以在Firefox中看到该幻灯片。
The only errors I get are: "Uncaught ReferenceError: Invalid left-hand side in assignment". 我得到的唯一错误是:“未捕获的ReferenceError:分配中的左侧无效”。 Use javascript comments syntax instead of html inside the tag.
在标记内使用javascript注释语法而不是html。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.