Save as filename
![]() ![]() |
Great scripts. It would be even nicer if the default save-as filename is some unique string such as the youtube video id. |
![]() ![]() |
I think Mindeye already explained that it wasn't possible : the name of the video is decided by the server, not the client, so it can't be changed with Javascript. All videos are stored with the filename "video.mp4" or "video.flv" on YouTube's server.
Could be wrong though! |
![]() ![]() |
I believe only extensions could do that. Because they're closer to the browser. |
![]() ![]() |
Meuhcoin and Slimshady are right. I haven't found a way to change the filename using Javascript. I can only suggest the file type if the server doesn't do it (that's why you see video.flv and video.mp4 instead of getvideo, etc...). |
![]() ![]() |
Couldn't it just grab the Title that is above the movie and
|
![]() ![]() |
There's also the problem of unsupported characters for filenames (like slashes), I could assume they could be replaced with a space. |
![]() ![]() |
Is it not possible to parse the title above the video and use that?
|
![]() ![]() |
The problem isn't to parse the title of the video, that would be too easy. The problem is that you then need to tell the browser "Use this string as the filename when saving the file". However, a Javascript script cannot do this, maybe because of security issues.
|



