/    Sign up×
Community /Pin to ProfileBookmark

Invoke ‘Save Target As’

Does anyone know how to code a hyperlink of a video/ audio file such as WMV, WMA, MP3, RAM, RA so that the ‘Save Target As’ automatically is invoked rather than the associated player playing that file?

I presume it would have to be done in PHP but I know very little about it.

I have something like 50+ movie files so it will be impractical to include the urls in the PHP file. I have seen examples online where the PHP file is stored in the video clips folder and points to the files in the directory.

Many Thanks
Simon.

to post a comment
HTML

4 Comments(s)

Copy linkTweet thisAlerts:
@KDLAJun 08.2006 — You could put the video/audio in a zip file, and have the link go that zip file. On click, he/she would be prompted as to whether to save or open.

That's the easiest way I know.
Copy linkTweet thisAlerts:
@bigsim20authorJun 08.2006 — Ya but I got like 50+ clips that would just be impracticable

Simon.
Copy linkTweet thisAlerts:
@felgallJun 08.2006 — Serve the files as PHP and add the appropriate headers to identify the real file type. You can then specify that they are attachments rather than to be displayed inline.
Copy linkTweet thisAlerts:
@bigsim20authorJun 08.2006 — I'm sorry I dont understand what you mean ?

Simon.
×

Success!

Help @bigsim20 spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 6.17,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @nearjob,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,
)...