mozilla, like most other browsers doesn't let js manipulate the clipboard, unless the user set your website on a whitelist.
http://kb.mozillazine.org/Granting_JavaScript_access_to_the_clipboard
in response to your edited question: the video uses flash to copy to clipboard. There are several librarys that do so using hidden Flash content, for example ZeroClipboard