cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Play/Pause Buttons on Windows 10 Volume Popup

Play/Pause Buttons on Windows 10 Volume Popup

snaphat
Underground
Status: Archive

Is it possible to have play/pause buttons on the Windows 10 volume popup?

snaphat_0-1616810908456.png

 

 

Labels (1)
7 Comments
TannerPandora
Moderator
Moderator

Hi @snaphat! Thanks for the post. 

Based on your screenshot, this looks like the volume control integration for Windows 10 and not directly related to Pandora. I would suggest reaching out to them directly with this idea.

We do have a feature suggestion for a compact player design in our Feature Request board. If this is something you're interested in seeing for Pandora, feel free to give it a like. You can find the idea here

Hope this helped. 

snaphat
Underground

It works fine in youtube:
snaphat_0-1617226357254.png

and in spotify:

snaphat_1-1617226789633.png

It is directly related to Pandora. After investigating I determined that Pandora simply hasn't implemented the required browser hooks for media control keys. The OSD is supported in Chrome, Firefox, and Edge through APIs and works fine with the majority of well known media websites these days.

So, it's just Pandora that doesn't appear to work. In fact, it seems like even media control keys on the keyboard don't work for Pandora either...

Edit:
Pandora needs utilized the MediaSession web api to support this feature basically:
https://developer.mozilla.org/en-US/docs/Web/API/MediaSession

TannerPandora
Moderator
Moderator

Hi @snaphat! Thanks for the clarification about your suggestion and for including the screenshots. 

You are correct, we do not support media controls via the keyboard while listening on a web browser, however these are supported on the desktop app. 

When using the web browser, we only support using the following list below, and the Pandora browser tab must be the active tab.

  • Play/ Pause: Space
  • Skip Forward: Ctrl→
  • Skip Backward: Ctrl←
  • Shuffle: Ctrl S
  • Repeat: Ctrl G
  • Thumb Up: ⇧Ctrl↑
  • Thumb Down: ⇧Ctrl↓
TannerPandora
Moderator
Moderator
Status changed to: Open Ideas
 
snaphat
Underground

Hi Tanner,

I implemented a version of what I was talking about above using the MediaSession APIs I linked within a userscript for Pandora.

All it does at the moment is allow play/pause to be clicked. The song title is provided by a browser extension that changes the tab title. It should work in Chrome/Edge/Firefox.

Anyway, if I could spin that up in less than a day with no familiarity in it, I'm sure Pandora devs could natively support it and throw in the media info.

Script:
https://github.com/snaphat/pandora_media_session

Example image:
snaphat_0-1617241683610.png

EDIT: Chrome, Edge, and Firefox extensions are now available at the link above.

 

snaphat
Underground

I went ahead and implemented the rest of the media-session support for Pandora so that it properly displays the album art, etc. It's on the repository I linked above and super simple stuff.

I'd appreciate if it could be passed to Pandora devs. I'd rather the support be natively in Pandora. 🙂 The code is MIT licensed and free with no restrictions or anything.

snaphat_0-1617260012780.png

 

Pandora
Moderator
Moderator
Status changed to: Archive

We appreciate your contribution to our Feature Request board! Due to inactivity, this post has been archived and cannot be voted on or commented on. If you have any additional suggestions, feel free to share them or vote for them if they are already mentioned in the Feature Request post.