[User Script] Podcast Player Keyboard Controls!

Avatar image for ppx89zbn
ppx89zbn

80

Forum Posts

0

Wiki Points

0

Followers

Reviews: 0

User Lists: 0

Hey all,

Not sure if this is kosher here, but I have a JS script I use in conjunction with Tampermonkey (allows you to run custom user scripts on websites) which I've found to be pretty handy when listening to podcasts on the web player, and I wanted to share it with you all.

https://gist.github.com/burchbobby/4e92e8890f2ee31f9e06530af61fc5c9

Currently it does two things: allows the player to be focused, with `tab` or with the mouse; then, when the player is focused, you can use the left and right arrow keys to skip forward and back in 15 second increments. I'm planning additional enhancements similar to those found on the video player (resume from position, etc). Any suggestions?

Unless I'm mistaken, the web player doesn't currently allow for this functionality when playing podcasts, so I figured I'd add it in myself.

Apologies if this is verboten or otherwise doomed to deletion. If not, great! I hope someone gets some enjoyment out of it :)

Anyway, thanks for reading!