Adding a music sample to a page??
I have .mp3 files I want to play to people but!! I dont want them to be able to download the song just listen to it, because they are custom made beats made by myself and I dont want people stealing them just sampling them. I've seen it done all over the web like at CDUniverse but I can't find any documentation on it. Can anyone help me out??
Re: Adding a music sample to a page??
There are proprietary plug-ins that allow streaming of proprietary format, in an attempt to make it difficult to download the files.
It's not possible using plain MP3s and typical plain software. While you can use these to make it difficult to the point where people without much computer knowledge are stumped, you can't make it impossible.
Using the proprietary stuff, you can make it even more difficult. You can't make it impossible, however - the mere fact that the sound comes out of the speakers of the user means that it somehow got there and was decoded.
Re: Adding a music sample to a page??
I was experimenting with this sort of thing recently. Try using an "EMBED" tag as follows:
HTML Code:
<HTML>
<HEAD>
<TITLE>Play MyTune</TITLE>
</HEAD>
<BODY>
<EMBED src="MyTune.mp3" border="0" width="150" height="150">
</BODY>
</HTML>
Create a HTML file and put an mp3 called "MyTune.mp3" in the same folder.
I have only tried this on my local machine. I haven't deployed it to a remote server so I don't know whether the file is actually streamed or downloaded.
As CornedBee suggested, any sound that goes through your sound card can be recorded.
Let me know if you have any success with this.
P.S. I couldn't get this to work in FireFox - only IE.
Re: Adding a music sample to a page??
I tested this on a remote server and it simply downloaded the file and played it through the browser so probably not what you're looking for....
Re: Adding a music sample to a page??
Correct, I'm looking for something like this. Notice you can click listen in Windows Media Player or Real Player. That's what I want.
Re: Adding a music sample to a page??
But even that isn't too hard to get. I'm listening to a sample with a command line player right now, and grabbing the file for offload listening would be a matter of a single command line switch. They can do this because only short samples are uploaded; they couldn't do it with the complete files.
Re: Adding a music sample to a page??
Re: Adding a music sample to a page??
Hi,
Right then
2 choices on this matter.
1. Either use an activeX plugin on your page. 9youll end up coding it forever..)
2. use playlist files that point to your fiel on your server. then they simply cannott save the file, but will ahve to download the playlist (not the file) to play the clip in their music player of choice. Even when the playlist is downloaded, the ycan t get to the file to save it..
This is how MSNmusic work and how we secure public viewing files for a music commerce project we are running.
Simple really. Playlists are creted in teh music player of choice, saved to your root directory onyour web server, then linked Hrefs... EASY PEASY!!!
Even if they save the playlist, they cant play the Bas*tard as theyve no directl link to your server, as as soon as the player has finished the binary buffer transferr, it diconnects itself.... You gotta lvove Language disconnectiveness.... :bigyello: :bigyello: :bigyello: :bigyello: :bigyello:
Rate me for this!!
Hope this helps
Kai
Re: Adding a music sample to a page??
Would you mind helping me figure it out for Windows Media Player? I am a little inexperienced with it. =P
Re: Adding a music sample to a page??
I suggest broadcasting your music using ASX files (which stores a location to the track) so that the user only gets the tiny ASX file, and nothing else.
Check out this article from MS:
http://www.microsoft.com/windows/win...webserver.aspx
Re: Adding a music sample to a page??
Quote:
Originally Posted by kaihirst
This is how MSNmusic work and how we secure public viewing files for a music commerce project we are running.
Even if they save the playlist, they cant play the Bas*tard as theyve no directl link to your server, as as soon as the player has finished the binary buffer transferr, it diconnects itself.... You gotta lvove Language disconnectiveness.... :bigyello: :bigyello: :bigyello: :bigyello: :bigyello:
That's exactly what this site does for the samples, and it's still easy to grab: all you need is a player like mplayer, which can contact the server and dump the data to a file.
And of course you bind yourself to the Windows platform - is there a WMP for Mac?
Re: Adding a music sample to a page??
Yeah, there's a WMP 9 for Mac OS. Who'd've figured. :D