Closed serverwentdown closed 10 years ago
Possible fixes:
player.addEventListener
(But no Mousetrap APIs to do this (Here is a fork that has that API) ). EDIT: None of this will work because I realised YouTube's player.addEventListener
is for YouTube player events. Grrrrr...
Related Stackoverflow
Found possible bug fix, implemented it, based on this stackoverlow question.
Basically what has been done is to setInterval
while the player is open, and use that to keep docs on a hidden <input>
element. Yes and Miusetrap has need set to global including textareas.
Keyboard events not passing through video after focusing on video (i.e. clicking on video to pause/play), requires exit from player. Probably due to Flash and/or YouTube.
Includes Mousetrap keyboard events and OS X events (i.e. Cmd-Q and Cmd-W).