Yeah that's one of the reasons I download most content I intend to study from YouTube and watch it with a decent media player. Another major reason is ability to go frame-by-frame forward and back which is implemented in the YouTube player but doesn't work reliably.
mpv can stream directly from youtube (and tons of other websites) using youtube-dl. Combine that with a browser plugin to play a link or the curent page in mpv. Infinitely better experience than watching in the browser.