Or Revanced, or SmartTube or NewPipe etc etc. Fortunately and thanks to some great devs out there, we're still able to give Google the big middle finger.
I've found revanced to stop playing the video after a minute or two unless you frequently update it (which is a manual process)... I no longer listen to lectures while I run errands, because there's now no convenient way to do it. Ads are out of the question, and finding a video I want to watch only to have it cut out as I get on the road has killed the experience for me