View Full Version : HTML Help:MP3 player on site
shinynewmusic
06-10-2006, 09:57 PM
I have looked everywhere on the internet and I can't find the code I need for my site. I don't even know if a code like/similar to this exists. It needs to do the following things:
- shows a simple player that displays the name of the song playing.
- doesn't allow you pause, fast forward, stop etc. the song that’s playing (so that everyone on the site at the time is listening to the same song)
- plays up to about 100 (or something like that) MP3 files on repeat, where you just put in all the links to your uploaded MP3s into the code and it plays them through randomly from when the page loads.
-I wouldn't have to upload/download too many files in order to make the player work, just a simplish code.
I suppose in theory the player would sorta have the same affect as a radio station, if you want to look at it like that. If anyone could help by posting a code or link to a code that would work or emailing me (priorfa@aol.com) I would be really grateful.
If you visit my site here > http://www.florencep.co.uk , (the site isn't officially open yet, still work in progress) you will see that without an MP3 player like the one I described above, the site won't work. I am not really new at using HTML and building websites, I have been doing it for a couple of years for fun but I still can't really handle anything really complicated (i'm young :( ), so I wouldn't be able to work a player code with the playlist thing (if you know what I'm talking about), where you link to a playlist you make of your files (unless someone described it to me really simply because I haven’t understood it so far from any of the sites I have been on), and I can't upload .midi or .wav files, and anyway my site it based on sending in .mp3 files so it would just need to be able to play them.
Sorry if I have gone on a bit in this post, but any help would be REALLY appreciated, it may just well save my website. Thanks in advance.
djr33
06-10-2006, 10:33 PM
-I wouldn't have to upload/download too many files in order to make the player work, just a simplish code.You do realize that any data (sound) that is to be played on one's computer must be downloaded, right? You can't avoid sending the data to someone's computer.
If you're wanting file protection, so the songs can't be downloaded, you can make it slightly harder to find the link, but there is NO way to stop the downloads.
You can have it streaming though, like on the page.
- doesn't allow you pause, fast forward, stop etc. the song that’s playing (so that everyone on the site at the time is listening to the same song)
Embedding the song in a page is fairly easy. Controlling it is harder. And then synchronizing it is even more complex.
This is very hard to do.
You could control what song at what time, but the problem would be that you would have viewers constantly coming to your page, and they would need to join in mid-song, which would be very hard.
It sounds basically like you want a web-based radio station... that's a lot more than just coding a simple addition to a page. You'd need both complex server-side coding (with databases and such) as well as very complex client-side coding (javascript) to set things up, as well as maybe even flash.
It's arguably possible, depending on the complexity you desire, but it would be a lot of work.
If you're flexible, then something might work, but if you require something matching all of your notes above, I'd suggest you actually look into creating a radio station, like you can do through iTunes. It might be fairly complex to do, but that also may be the only way to get everything you want.
I know you're saying that you can't do anything too complex, but you need to choose between having complex things and keeping it simple... sorry :)
I can, however, guarantee there is no simple way of doing what you're asking.
If you're willing to be flexible, you can probably work it out to have something, but it will likely not do everything you're saying above.
shinynewmusic
06-10-2006, 10:46 PM
-I wouldn't have to upload/download too many files in order to make the player work, just a simplish code.
You do realize that any data (sound) that is to be played on one's computer must be downloaded, right? You can't avoid sending the data to someone's computer.
If you're wanting file protection, so the songs can't be downloaded, you can make it slightly harder to find the link, but there is NO way to stop the downloads.
You can have it streaming though, like on the page.
_____________________
I meant not upload lots of skins and software for the player.
Thanx for replying by the way. I am willing to be flexable about it, I can see how having the song playing at the same time on all pc's would be very difficult - i could do without this. It was just because the site works with a message board and I thought it would be easier for people to comment on music if they were all hearing the songs at the same time. The main thing I need is for it to display what song is playing and by who. I suppose it doesnt even matter if you can pause and stop and skip songs, just as long as it plays songs through on random. I just need a code that works!
djr33
06-10-2006, 11:06 PM
Ok, wasn't sure about the downloading thing, but that's fine... skins are easier left out, obviously.
My thought then would be to have a choice of say 3 songs at a time. Every.... 3 minutes? 4? whatever seems to be the average length for songs on the site... or you could even code in the length of each song...
anyway, at that amount of time, have a new song become available, and the oldest one rotate out.
They could choose any of them to play, and as long as they get the link within the time, they could start the song.
Unless you have a chatroom, it doesn't need to be syncrhonized... a forum isn't even close to real time. Rarely would there be two people talking about the current song at the same time.
It's a pretty complex code still. Not sure what the best way to go about it would be.
It would be time consuming to code, I'm sure.
Check this out...
www.coffeecup.com
CoffeeCup Web JukeBox
Add A Cool Music Player to your Website ! Web JukeBox is a music player for your Website. It comes with over 20 cool players that will match any Website design.
Very easy to install... :)
djr33
06-11-2006, 07:14 AM
Yeah, flash is a good idea here, and that's pretty cool.
I do wonder how it would be to control having the right songs at the right time, but I don't know what that's such a big issue... might just be easier to forget about that.
shinynewmusic
06-11-2006, 07:05 PM
Thanks for the replies, that CoffeeCup Web JukeBox looks amazing but unfortunately I really need something that doesn't require money spent on it.
djr33
06-11-2006, 07:15 PM
It's not that expensive. You said you were young, but just babysit for a couple hours. Really, it'll save you a heck of a lot of time in the end.
Thanks for the replies, that CoffeeCup Web JukeBox looks amazing but unfortunately I really need something that doesn't require money spent on it.
From what I understand its free! (Download the shareware version)
djr33
06-12-2006, 06:34 AM
Looked to me like that was just a trial.
3220796chad
07-12-2006, 07:34 AM
1. upload your files :eek:
------>www.ripway.com
2. get their url's:p
3. go to this site.:confused:
------> http://www.myspaceprodesigns.com/MPDPlaylistgen.html
4. take care now...:D
3220796chad
07-12-2006, 07:36 AM
http://www.myspaceprodesigns.com/MPDPlaylistgen.html
check this 1
I hope it answers your problems....
Powered by vBulletin® Version 4.2.2 Copyright © 2021 vBulletin Solutions, Inc. All rights reserved.