I run Firefox on linux, and have never had a problem with youtube. I also run the plugin/extension "NoScript", and only allow the absolute minimum javascript to run for site that I need it to run on. Other wise I surf with Java/Javascript/Flash etc etc, denied.
Just make sure you Firefox and extensions are up to date.