I think that's the way it works. I've only made applets in html documents, but I think any link that you click in effect is the same as copying and pasting into the browser window. Of course, you've have to change the YouTube URL to the one you want to download.