Control YouTube Music with a browser extension.
This is a simple Chrome extension which allows you to pause and resume music playing via YouTube music.
Based upon a similar one created for Google Play Music, I've taken the opportunity to update the JS, and the images used more closely match the colour-scheme used by YouTube Music.