Just uninstall Flash. For me I have Flash and I make YouTube play HTML5 with an addon called YouTube All HTML5. This is for Firefox or Pale Moon.
I really wish websites would just get rid of Flash. It's a nightmare of slow loading, JS activation using NoScript and malware plagued. HTML5 is a lot more resource friendly.