Web Analytics
SOLVED - Songs Play in the Browser instead of Downloading - StoreFront Forums

SOLVED Songs Play in the Browser instead of Downloading

Pedro

Forum Admin
Staff member
Trusted Uploader
Contributor
Aug 21, 2021
1,453
2
2,302
113
Genesis Forum
storefront.com.ng
61LeHTfQF9L.png


Songs Stream Instead of Download?

Go to file manager, .htaccess, edit and paste this code at the bottom:

Code:
<FilesMatch ".(?i:mp3)$">

ForceType application/octet-stream

Header set Content-Disposition attachment

</FilesMatch>

<FilesMatch ".(?i:mp4)$">

ForceType application/octet-stream

Header set Content-Disposition attachment

</FilesMatch>

<FilesMatch ".(?i:mpg)$">

ForceType application/octet-stream

Header set Content-Disposition attachment

</FilesMatch>

<FilesMatch ".(?i:mov)$">

ForceType application/octet-stream

Header set Content-Disposition attachment

</FilesMatch>

<FilesMatch ".(?i:flv)$">

ForceType application/octet-stream

Header set Content-Disposition attachment

</FilesMatch>
 
AdBlock Detected

We get it, advertisements are annoying!

Sure, ad-blocking software does a great job at blocking ads, but it also blocks useful features of our website. For the best site experience please disable your AdBlocker.

I've Disabled AdBlock    No Thanks