Home Blog Resume
I added the
parent=player.twitch.tv section to the Twitch bookmarklet. This is apparently now required for the embedded video player.
Sometimes I'd like to watch a stream on Twitch, or a video on YouTube, in not-quite-fullscreen. I don't need to read Twitch chat or look at "related" videos. But I also don't want to go entirely to fullscreen. I might want to see the clock at all times. I might be using that monitor for other programs some of the time; I don't want to switch out of fullscreen every time I switch programs.
Twitch has a decent Theatre Mode toggle on the video player. It allows you to enlarge the video to nearly full size within the browser window. You also have the option of keeping the chat window visible on the side.
However, Theatre Mode does a stupid thing: it keeps the Whispers menu icon in the bottom right corner, even when you have no whispers (private messages) to view. It would be great if the icon overlapped the video player, or was otherwise off screen. Instead, it takes up half an inch of your screen, with no way to disable that I can see.
The embedded Twitch video player doesn't support chat, but I'm not usually interested in reading chat while watching. People on Twitch chat are dumb.
YouTube's Theatre Mode is pretty bad. It doesn't remove the search bar at the top of the screen. It never enlarges enough to get rid of the name of the video or its view counts at the bottom of the screen. I'm sure there are reasons for both of these things. Whatever the reasons, it's pretty silly that "Theatre Mode" can actually mean "center the video on the screen, but do not make it any larger".
Additionally, the embedded YouTube player's URL parameters are entirely different than the main website's. Where
t=60 starts a normal video one minute in,
start=60 does the same for an embedded video. Sometimes YouTube remembers my timestamp when switching to the embedded version, but sometimes it doesn't.
To create a bookmarklet, start by creating a new bookmark in your browser of choice. In Chrome on Windows, press Ctrl+D (or click the star in the address bar).
You can name it whatever you want. I chose "Twitchmarklet" and "YTmarklet" because I'm very funny.
The URL needs to start with
Here's the full Twitch bookmarklet, commented:
Here's the short version:
And here's the YouTube version, which tries to avoid one of the many URL parameters you might encounter:
If you know of a better way to do this, I'd love an email from you. I went looking for a Chrome extension that gave me a UI button for this (and only this) and couldn't find one.