Adds the miniplayer button next to the YouTube logo.
This script adds a Miniplayer button next to the YouTube logo in the top left corner.
Miniplayer is YouTube's picture-in-picture mode, but it's hidden behind right click on the video.
Why add it here? Because now I can either click the YouTube logo, which stops the video and goes back to the main page, or this button, which enables picture-in-picture mode and takes me back to the main page.
It's dark/light/theater mode aware, and shows up only on video playback pages.