rus787 Posted March 20, 2006 Share Posted March 20, 2006 I have wmv files that I would like the option to have viewers open/view the movie or download the movie directly without using the "right-click" option. My users have limited computer skills and sometimes the idea of a right-click is a little too complicated, so I would like a link for each option. Is this possible or is it decided by the way the browser handles the request?Thanks Link to comment Share on other sites More sharing options...
calvin182 Posted March 20, 2006 Share Posted March 20, 2006 (edited) I know theres a way to do this if you have a php enabled server but in just HTML/XHTML I don't know, I would recommend putting your files in a .zip archive but then again your visitors might not know what to do from there... Do you have php?EDIT: if you do have php, check out the header() function's examples. Edited March 20, 2006 by calvin182 Link to comment Share on other sites More sharing options...
vchris Posted March 20, 2006 Share Posted March 20, 2006 What if you simply create a link that links to the wmv file?This should start the movie on click. Link to comment Share on other sites More sharing options...
rus787 Posted March 20, 2006 Author Share Posted March 20, 2006 I know theres a way to do this if you have a php enabled server but in just HTML/XHTML I don't know, I would recommend putting your files in a .zip archive but then again your visitors might not know what to do from there... Do you have php?EDIT: if you do have php, check out the header() function's examples.<{POST_SNAPBACK}> no, I do not have a PHP server. Something that is not likely, either Link to comment Share on other sites More sharing options...
rus787 Posted March 20, 2006 Author Share Posted March 20, 2006 What if you simply create a link that links to the wmv file?This should start the movie on click.<{POST_SNAPBACK}> I realize that will open the file (and that is something I am currently doing), but I would like a second link that would force the browser to download the file rather than view it. Basically, can I make a link do a "right-click/save target as..." by default.Rus Link to comment Share on other sites More sharing options...
vchris Posted March 20, 2006 Share Posted March 20, 2006 Not that I know of...Sorry. Link to comment Share on other sites More sharing options...
snowboard01 Posted March 21, 2006 Share Posted March 21, 2006 try javascript they might have some info on this it is a script thing not an html thing Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now