When I have a youtube video open sometimes it freezes but the audio keeps playing and the only way to unfreeze it is to switch to a different workplace and wait a few seconds for it to register I changed workplaces. Then switch back to the workplace with youtube one it.
I had a look at task manager, and even though I only have 2 pinned tabs and a normal tab, there are 24 processes. This is unusual as browsers usually just have one process for each tab plus 1 or two background processes, from my experience with other browsers.