msfeldstein / chrome-media-keys

Chrome extension that adds media keys to most web music players
GNU Affero General Public License v3.0
89 stars 33 forks source link

Having multiple tabs of SoundCloud confuses the extension #59

Open nemchik opened 9 years ago

nemchik commented 9 years ago

To reproduce; 1) Open a new tab with soundcloud and start playing a track. 2) Open another new tab with soundcloud and start playing a different track. The first tab will pause playback. 3) View the extension popup and the first tab's song info and album art are still displayed and the popup believes media is paused.

I think this is because soundcloud tries to handle multiple tabs in its own way (passing the player from tab to tab) but im not really sure.

msfeldstein commented 9 years ago

I've had problems with myspace doing this as well, i added some monkey-hacks in for that but i'd love to find a more stable solution

On Fri, May 22, 2015 at 6:27 AM Eric Nemchik notifications@github.com wrote:

To reproduce; 1) Open a new tab with soundcloud and start playing a track. 2) Open another new tab with soundcloud and start playing a different track. The first tab will pause playback. 3) View the extension popup and the first tab's song info and album art are still displayed and the popup believes media is paused.

I think this is because soundcloud tries to handle multiple tabs in its own way (passing the player from tab to tab) but im not really sure.

— Reply to this email directly or view it on GitHub https://github.com/msfeldstein/chrome-media-keys/issues/59.