Ubuntu – Youtube videos on Firefox not playing properly

14.04firefoxvideoyoutube

I've reinstalled Ubuntu 14.04 multiple times because Youtube videos haven't been playing properly. I thought maybe reinstalling Ubuntu might help but apparently it hasn't. During video playback, the video suddenly becomes jerky and unwatchable. This happens randomly. How do I get this fixed?

The laptop I'm using Ubuntu on is a Dell 13" 7348 core i7.

Best Answer

Youtube use HTML5 now, so the control (play, stop, volume) is in ECMAscript. You can set dom.max_script_run_time to the value 20 in about:config. Look how you can do this right at https://support.mozilla.org/en-US/kb/warning-unresponsive-script