Hi Klemens.
I'm using FF 34.0.5
The script works fine until I use some player's methods:
var player = unsafeWindow.document.getElementById('movie_player'); // OK
or like your example:
window.wrappedJSObject.onYouTubePlayerReady = function() {
var player = document.querySelector("#movie_player").wrappedJSObject;
} // OK
but when I put, after that line, something like:
player.pauseVideo(); // BLOCK script
or
player.getCurrentTime(); // BLOCK script
or
player.getPlaybackQuality(); // BLOCK script
So, I thought it was the way the player was created with unsafeWindow in the latest FF (it worked fine for sure in the FF 31).
Are you using the same FF 34.0.5?
This is my add-on (now not working here):
https://addons.mozilla.org/it/firefox/addon/youtube-mouse-wheel/