Requires "Enhanced media controls" to be enabled in extension settings to work
BUG: 402324
fvogt |
Plasma |
Requires "Enhanced media controls" to be enabled in extension settings to work
BUG: 402324
Paused soundcloud, no longer had the player disappear and switch to one on a different tab
Lint Skipped |
Unit Tests Skipped |
extension/content-script.js | ||
---|---|---|
373 | Doesn't player.paused work here? |
extension/content-script.js | ||
---|---|---|
373 | No. This case here is so when you empty the player, e.g. use ajax page nav to navigate away, we stop controlling the player. It is always paused when emptied, so this would just noop. |
extension/content-script.js | ||
---|---|---|
373 | Ok, so this is even more of a hack than I thought. Can you add a && player == activePlayer check there? |