deadlock Message Board
[ May Full List | Post A Reply ]

Re: Making MP3's open in a player instead of downloading
From Sarah Marie Klaren at . : * Sarah Marie Klaren :+: the official site * : . on 24 May '02
replying to Re: Making MP3's open in a player instead of downloading posted by Jim

Well, it is only a sample. And I don't understand what you mean
by adding the audio/mpeg .mp3 and I don't know what a .htaccess
files is......

Thanks
~Sarah

>You can tell the browser which MIME type it's looking at by
>adding this to your .htaccess file:
>
>AddType audio/mpeg .mp3
>
>The browser will then handle the file according to the method
>listed in its configuration for that MIME type, which will
>normally involve opening the player software, if it exists on
>their computer.
>
>However, it's impossible to totally prevent people from
>downloading the file. The file must be downloaded onto the user's
>computer in order for it to be played.
>
>Why don't you offer a download of just a sample of the song
>instead of the whole thing?




Your Reply

*Your name:
*Message subject:
Home page title:
Home page URL:
Email:
(if you'd like to receive automatic replies by email)