Do more on the web, with a fast and secure browser!
Download Opera browser with:
The detach video in youtube acting weirdly when I minimize the opera. My machine runs Ubuntu 18.04. The video
The same here. Also, when I switch to another tab the problem occurs like the OP says.