NamPNQ / bower-videogular-youtube

Videogular `youtube` plugin repository for distribution on `bower`

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Not enough arguments to EventTarget.removeEventListener.

fuksito opened this issue · comments

There is an issue with FireFox, because this method in FireFox requires 2 arguments - type of listener and the listener itself. But in youtube.js there is only type:

scope.removeHtmlMediaElementListener = function(htmlMediaElement) {
    htmlMediaElement.removeEventListener("waiting");
    htmlMediaElement.removeEventListener("ended");
    htmlMediaElement.removeEventListener("playing");
    htmlMediaElement.removeEventListener("timeupdate");
}

https://developer.mozilla.org/en-US/docs/Web/API/EventTarget.removeEventListener

Duplicate of #9