With a static resource like that, you need to create a Custom Content type (in the System menu), with Binary set to Yes, then in the static resource's Settings tab choose that Content type. Whether it should be inline or attachment for the Content Disposition, I'm not sure in your case. When I have .pdf files for download, for example, I use attachment to insure the proper treatment of the file by the browser. Might need a bit of trial-and-error to get everything set properly.
-
- 5 Posts
sottwell
ok i set new content type
mime type : audio/mpeg
extention : .mp3
but when i open the resource the mp3 file is played but with vlc not with the flash mp3 player !!!
-
- 5 Posts
nir-z
no but i think that not the problem now just replace
index.php?id=2
with
mp3file.html