There&#x27;s also a chrome extension &quot;Media Keys by Sway.fm&quot;[1].
It can scrobble to last.fm and pause videos&#x2F;music in other tabs when you start playing something else.<p>[1] <a href="https:&#x2F;&#x2F;chrome.google.com&#x2F;webstore&#x2F;detail&#x2F;media-keys-by-swayfm&#x2F;icckhjgjjompfgoiidainoapgjepncej" rel="nofollow">https:&#x2F;&#x2F;chrome.google.com&#x2F;webstore&#x2F;detail&#x2F;media-keys-by-sway...</a>