I have a big problem. I've made a simple Google Chrome plugin (based on the old Youtube Video Downloader) but I have some problems with it. The first problem is that it won't pop up a new save window on click, but opens a new page with the video in the default Chrome player. The second is, that when the user clicks right click-save, they won't get the video name but a standardized name.
Is there any way to make a file save dialog with a specified file save name?
EDIT:
The link is automatically generated based on the Youtube video link, this way:
document.getElementById('watch-description-body').innerHTML+='<button id="download-youtube-video-button" data-button-listener="" data-tooltip-timer="300" class="yt-uix-button yt-uix-tooltip" data-tooltip="Right-click and click Save Link As... to download" type="button">'+'<a href="http://www.youtube.com/get_video?video_id='+video_id+'&t='+t+'=" style="padding: 2px">FLV</a></button>' ;
So basically it ads a button to the existing page, with a specified link:
http://www.youtube.com/get_video?video_id='+video_id+'&t='+t+'=
Where video_id is the Video ID number, and t is the time the player was stopped.