YouTube on Firefox skips frames and neither Google nor Firefox seem to have the incentive to fix it, let's do it ourselves. When this is done, we can watch YouTube videos in the browser with smooth playback using mpv as the video player backend. Note: This guide is for Linux operating systems with Firefox but should be simple enough for adapting to Windows with Chromium based browsers. Install 'ViolentMonkey'1 extension to manage user-scripts in the browser.