Did you try looking for any addons? "video block" in the addons page gives you one option:
That probably wont do what you want, because it seems like you want magic. only play the videos you want, when you want them/click them. you can disable/enable things as much as you want, and if you want to go through that then go for it. I'd use privacy badger and adblock, and set the sliders to what I could live with.
only going to block shockwave if the videos are shockwave. not html5 videos, mp4s in a player, etc.