How can I implement this code/ script?

About: Download YouTube Videos as MP4
Hi Please let me know how can I implement this script in HTML page? I am a new bie and I like this script so much. I have make a page with youtube video and I want to add a DOWNLOAD BUTTOn at video detail page.

Please help me.