Honestly haven’t had that issue at all yet. If that happens, this userscript can be a solution (with something like grease monkey) https://greasyfork.org/en/scripts/477725-youtube-iframe-adblocker. Using NoScript to turn off JS should also work. As a last resort you can use a script that redirects YouTube videos to invidious or some other alternative.
Can vouch for this controller, works flawlessly in Linux