2
Good guys, I tried to create a direct link to download a video, but as many probably already know this doesn’t work very well. In fact the only thing that happens when I click on the link is that it opens a new tab and the video runs directly in the browser. If I zip the file the download works, but I do not want it, as I said in the question title what I am looking for is a way to force the download of the video and not the playback of the same.
About the code I used in the link to my failed attempt to create the download has no secret, it was simple html.
<a href="video.mp4">DOWNLOAD</a>
You have access to the server-side code?
– Sergio
Forgive me for my ignorance, but I don’t know what that means.
– ivan veloso
If you are using HTML5, you could try using the attribute
download
, without having to touch the server. Have a look at https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a– Wakim
@ivanveloso, take a look here: http://answall.com/q/608/129
– Sergio
Walkin and Sergio, thanks for the information, I got.
– ivan veloso