Chrome, addEventListener(): what is going wrong ? What cross-browser alternative?

点点圈 提交于 2019-12-12 00:24:03

问题


I just found out that addEventListener() is dramatically failling on Chrome (28).

My working example is a text-to-speech fiddle where I want to listen and the end of a sound file's play to play the next soundfile. In Firefox, all fine. In Chrome, the script break within the first addEventListener.

What is going wrong, how to fix it ?

Do you have a cross-browser proof alternative way to listen at the end of an event ?

来源:https://stackoverflow.com/questions/20230811/chrome-addeventlistener-what-is-going-wrong-what-cross-browser-alternative

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