audiocogs / dgplayer

Named in honor of Devon Govett, main author of this player.
13 stars 4 forks source link

Keyboard control #4

Open jussi-kalliokoski opened 12 years ago

jussi-kalliokoski commented 12 years ago

At the very least, it would be nice if space triggered play/pause.

A more advanced feature could be arrow keys for volume and seek (which we don't have), but those are hard to get right, and not very much a priority.

Also, to avoid tampering with existing keybindings , the player should be assigned a tabindex, so that the keybindings are assigned to the player only, not the whole page.

devongovett commented 12 years ago

Is this possible since it is in an iframe? Not sure if key events get passed down through to the embedded document...

jussi-kalliokoski commented 12 years ago

It gets through if it has focus.