For more than 3 years kweb(3) has the built-in possibility to play web video (youtube and 600+ other websites) in high resolution and perfect quality using omxplayer(GUI). Just click the "Play" button in the toolbar on a video web page.Recently kusti8 has published an extension for the Chromium-Browser that offers the same functionality. It also uses the kweb package (omxplayerGUI and youtube-dl-server). Unfortunately this doesn't work any more with the recent RPF chromium-browser version.I have built a similar solution for Firefox, which can also be used for chromium-browser now (although it is less elegant than kusti8's solution).

For More Details:-
Online Video Production Studio