Audio/video stream recording forums
|
Attention Visitor: |
You may have to register or log in before you can post:
|
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
How to stream without downloading abilityI can use Windows Media files, but in this example I've used a .mp3 file.
I've added a mp3 to the following directory path: http://paulsmithpianist.com/mp3/112-06.mp3 And I know how to create a href so that a user can click and play the file: <a href="http://paulsmithpianist.com/mp3/112-06.mp3" target="_blank" rel="enclosure">Cumana</a> However, not only can they play the file, they can download it as well! That defeats the purpose of my selling CDs, right, if they can download it for free. See my problem? I want users to be able to listen to the sample as above, but I do not want them to be able to download it. Which leads me to my questions: is there a way to stream via http like the above example but also prevent someone from being able to download it? If so, how do I write you the href statement? I've seen the following on another site and perhaps it will provide a clue as to how to do it. Not being techie I'm not sure what this means and how to go about it, which I why I am asking for help. Streaming Audio Files Instructions vary based on file type. Please see below for specifics for different file types. General Instructions follow: 1. Upload media file to public_html 2. Create playlist file in public_html 3. Edit .htaccess file (or mime types) in public_html (show system files in preferences) 4. Create link to playlist file -- mp3 -- 2. create text file file.m3u with following text: http://www.domainname.com/file.mp3 3. Add the following line to the .htaccess file: AddType audio/x-mpgurl mp3 m3u 4. Create a hyperlink (chain icon) in webbuilder (or file manager). Insert the following: http://www.domainname.com/file.m3u -- rm -- 2. create text file file.ram with following text: http://www.domainname.com/file.rm 3. Add the following line to the .htaccess file: AddType audio/x-pn-realaudio ram rm 4. Create a hyperlink (chain icon) in webbuilder (or file manager). Insert the following: http://www.domainname.com/file.ram -- wma -- 2. Create text file file.asx and insert the following text <ASX VERSION="3.0"> <Title>xyz</Title> <ENTRY> <REF HREF="http://www.my_site.com/xyz.wma" /> </ENTRY> </ASX> 3. Add the following line to the .htaccess file: AddType audio/x-ms-wma wma wax asx 4. Create a hyperlink (chain icon) in webbuilder (or file manager). Insert the following: http://www.domainname.com/file.asx |
Tags: ability, downloading, stream, without |
Thread Tools | |
Display Modes | |
|
|