Link to save embedded videos...

Associate
Joined
17 Nov 2003
Posts
1,980
Location
Gateshead
Hi

I've created a little web page for my company that has a couple of links to pages each containing an ebedded wmv video. This works fine and dandy.

I would also like a 'click here to download this video' link. This is where I'm running into problems. On IE9 I get a download file popup which I good. But on FF or IE8 the video I'm trying to download either plays in a new tab of the browser or plays in wmplayer.

I'd rather not have to have instructions for right-click-save on the page as it will mess up the look of it and I need to assume the users have zero knowledge of things like this.

Anyone got any ideas?

Cheers!
 
If you're using Apache you could try this placed inside a .htaccess file (might not work if you don't have mod_headers available):

Code:
<FilesMatch “.(?i:(wmv))$”>
    <IfModule mod_headers.c>
        ForceType application/octet-stream
        Header set Content-Disposition attachment
    </IfModule>
</FilesMatch>
 
Is the extension .wmv or something else?

If you have PHP available you can do it with that too, though a bit more of a pain.
 
Sorry if this is stupid and I'm a complete noob etc. etc. but could you embed any of these free 'download YouTube videos' websites within the page?
 
Back
Top Bottom