搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

Bug with "canplay" event

  • 1 回覆
  • 1 有這個問題
  • 2 次檢視
  • 最近回覆由 guigs

more options

Basically, I was doing some research on HTML 5 videos for ready event of videos. And from http://www.w3.org/TR/html5/embedded-content-0.html#mediaevents link I found "canplay" event which is very useful. However, the Firefox is calling this event in a continuous loop infinitely, which is causing main jQuery to break.

Here is the fiddle where you can find issue, http://jsfiddle.net/amitsukapure/71bn35da/

Basically, I was doing some research on HTML 5 videos for ready event of videos. And from [http://www.w3.org/TR/html5/embedded-content-0.html#mediaevents] link I found "canplay" event which is very useful. However, the Firefox is calling this event in a continuous loop infinitely, which is causing main jQuery to break. Here is the fiddle where you can find issue, http://jsfiddle.net/amitsukapure/71bn35da/

所有回覆 (1)

more options

I m sorry that you did not get an answer sooner, however the place for this question may be stackoverflow.com as it may be beyond the knowledge of the forum. However there are other parties within Mozilla like the webrtc team that also works on this if you would like to file a bug if you found an issue: https://lists.mozilla.org/listinfo/dev-media