This describes how to enable a feature like Chrome’s “click to activate plugin” in Firefox.
Alternatively, also install plugin to enable per-element (instead of per-page /-domain) control: Click to Play per-element (which this howto is taken from).
Also: “if you want to enable the plugin on the page and not the whole website by clicking the “Allow Now” button from urlbar plugin icon (like in Firefox 23 “Activate” button) in about:config “plugin.sessionPermissionNow.intervalInMinutes” set it to 0”.
Sources: