carlin-q-scott / browser-media-keys

Lets you control many web players using the media keys on your keyboard.
Mozilla Public License 2.0
123 stars 31 forks source link

options for previous and next actions #25

Open greatwroth opened 8 years ago

greatwroth commented 8 years ago

I think it would be nice to have the option to switch previous and next to act like pressing left or right arrow keys. I have a headset with customizable media keys I like to use to control youtube but the profile system can only detect programs, not webpages, so whenever I have firefox in focus I can't use them to control media players.

--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/27598110-options-for-previous-and-next-actions?utm_campaign=plugin&utm_content=tracker%2F7600490&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F7600490&utm_medium=issues&utm_source=github).
carlin-q-scott commented 8 years ago

I'm not totally understanding this request. Could you provide an example situation like: With youtube open, I want the next button on my headset to play the next video.

greatwroth commented 8 years ago

with youtube open I want the next button on my headset to advance the video forward like the right arrow key does

carlin-q-scott commented 8 years ago

Ohh, you want to fast-forward rather than go to the next video... hmm, that would be a nice feature. Could it be based on whether you hold the button down? So a long press will fast-forward the video and a short press will go to the next video?