Hi all:
I'm but an occasional user of javascript, but as I try to help others on the Flash forum... Hope somebody can come to my rescue on this one.
I've been desperately trying to force a download on an embedded Real or WindowsMedia player... but to no avail, whatever I do, they both desperately try to stream the file. Being stuck, as a lot of users still, with a 56k connection, I for one, prefer waiting for the file to download and viewing it with a minimal picture quality ( I purposely encode my files at a higher bitrate than a 56k connection would support), than suffer a pixalating, breaking-up and stopping for rebuffering presentation. Real says I'm trying to defeat the technology! I'm not! I'm just trying to use it in another way, benefiting from the reduced file size of thoses encoded files, and by downloading, insuring that minimum picture quality for slow connected users, since after the download of the file, it should be considered as a local file for the players.
So here's the javascript stuff...
On a button or a link clik, this function would offer the user a download possibility. I doubt it can force it to download to Windows' temporary internet cache (which would be the ideal), but assuming it could open the default downloading application it would then, once the download was completed, have to retreive the path of that saved file, so that I can handle it back to the player. Bingo! After the download, the file would play! Doesn't seem really complicated to me... but as I've said, javascript is definately not one of my trades!
So! All you javascript freaks (to me the term is not pejorative but indicates determination...), to your drawing boards! I'm wasted... I'm in a holding pattern and running out of gas!
Any help or comments greatly appreciated!
Thanks,
François Gill ;-)
Montréal, Canada
I'm but an occasional user of javascript, but as I try to help others on the Flash forum... Hope somebody can come to my rescue on this one.
I've been desperately trying to force a download on an embedded Real or WindowsMedia player... but to no avail, whatever I do, they both desperately try to stream the file. Being stuck, as a lot of users still, with a 56k connection, I for one, prefer waiting for the file to download and viewing it with a minimal picture quality ( I purposely encode my files at a higher bitrate than a 56k connection would support), than suffer a pixalating, breaking-up and stopping for rebuffering presentation. Real says I'm trying to defeat the technology! I'm not! I'm just trying to use it in another way, benefiting from the reduced file size of thoses encoded files, and by downloading, insuring that minimum picture quality for slow connected users, since after the download of the file, it should be considered as a local file for the players.
So here's the javascript stuff...
On a button or a link clik, this function would offer the user a download possibility. I doubt it can force it to download to Windows' temporary internet cache (which would be the ideal), but assuming it could open the default downloading application it would then, once the download was completed, have to retreive the path of that saved file, so that I can handle it back to the player. Bingo! After the download, the file would play! Doesn't seem really complicated to me... but as I've said, javascript is definately not one of my trades!
So! All you javascript freaks (to me the term is not pejorative but indicates determination...), to your drawing boards! I'm wasted... I'm in a holding pattern and running out of gas!
Any help or comments greatly appreciated!
Thanks,
François Gill ;-)
Montréal, Canada