Watch YouTube on top of game window?

Is there a way to watch YouTube on top of a game window in Windows 10? I like playing Trackmania while watching long lectures and it is annoying that I can’t have the game full-screen without covering the video. I can do it for the most part, but when I make the game window active to control the car the YouTube video goes under it.

Edit: I found this and it seems to work! I hope it ain’t got no viruses.

I solved this while making the original post but then I thought y’all might want to know or have other solutions.


Huh, I’d never considered doing this on a single monitor. This is basically the reason I always needed two monitors until recently when I went down to one in an attempt to multitask less.