You will need to install a user script manager extension to install this script.
This script starts when the website is loaded. If it's loading infinitely, just stop it manually - then the script will start ;)
Attention! I recommend to use adblock (i.e. AdGuard) in order to script works properly. This is just a simple script and ads are just video tags, so it works on them too, so it can cause problems.
Script tested only in Google Chrome browser.