The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Other Creating a .m4v Download Link Re: Creating a .m4v Download Link


I’m not completely familiar with this, though I believe it is possible to force the download using a .htaccess file.

Try this: create a .htaccess file in the server root (or add to it if that file already exists) and add these contents:

AddType application/octet-stream .m4v

(according to … ample.html — see the "## FORCE FILE TO DOWNLOAD INSTEAD OF APPEAR IN BROWSER ###" section).

However, do check — adding this line may mean that if you try to play a .m4v video (though a video player, rather than linking it) the file will attempt to download. If that is the case (I’m not sure off the top of my head), using a .zip file may be the best way to go. Perhaps other members will have some additional ideas as well.