Quote:
Originally Posted by Squirtit
This is great THANK YOU!
Before reading your post I came across a recomendation to add this to my .htaccess
AddType application/octet-stream .mp4
<FilesMatch "\.(docx?|txt|mp4?)$">
Header add Content-Disposition "attachment"
</FilesMatch>
So far what this does is allows my jwplayer to play .mp4 files, but when a link with an .mp4 file is clicked, the user is prompted to download the file. So I don't need two copies of the video file.
Do you see any drawback to this? I'm not big on programming and have no idea if this doesn't work for everyone.
|
my method is the same you just reference "file.MP4" for download and "file.mp4" for jwplayer , it pulls the same video you dont need 2 videos
but really you just need the htaccess you posted because the player will stream it either way