When I tried via a web browser a while ago I couldn't get it to work well, iirc I had to install a plugin from somewhere too.
Edit: I own Odroid N2, spent several weeks trying to make it working well. At the end I've given up and got an Intel NUC device.
If you download your youtube videos beforehand using youtube-dl and play using omxplayer, the result is virtually glitch free.
A better option is to install the YouTube extension on top of Kodi on Raspbian. You might also need to disable the new OpenGL driver as well. Once that is done, Kodi (which has Pi GPU patches in place) can play YouTube at 1080p30 beautifully.
Yup, that was how I watched Youtube videos for years (although Kodi was on LibreElec). Now unfortunately all Kodi extensions using Google APIs require registration, which of course is a huge privacy violation since I'm (still) not forced to do that on browsers.