Not enough arguments to EventTarget.removeEventListener.
fuksito opened this issue · comments
Vitaliy Yanchuk commented
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