View Full Version : .wma/.mp3 jukebox
Kurupt!oN
11-29-2002, 05:05 PM
i wanted to know if there is code to add like a mini .wma/mp3 jukebox to a website. i want it to have an "off" to kill the song, and then a number for each song [like 1 = song 1, 2 = song 2]. i have seen it a lot of flash, and i don't know how to use flash. so if anyone can help, that would be super! :D
p.s. i am doing my website with a chromeless browser, how do i make it so the music doesn't refresh everytime someone click on a navigation?
chrismiceli
11-29-2002, 06:28 PM
chromeless, we would like to see that, but to the question, you can use embed tags like this, and mess w/ the source w/ javascript to make it play different songs.
<embed src="whatever.wma" autoplay="true" loop="true" height="0" width="0">
// and w/ javascript change the source to the other song, like this
songs = new Array();
songs[0] = "song1.wma"
songs[1] = "song2.wma"
songs[2] = "song3.wma"
document.embeds[0].src = songs[2]
haven't done embeds in a while, syntax may be wrong somewhere.
Kurupt!oN
11-29-2002, 07:16 PM
ahhhh!! no matter what i try it doesn't seem to work. it is confusing... :confused: i need more help please.
chrismiceli
11-29-2002, 07:34 PM
what is wrong with my code, what errors are you getting?
zoobie
11-29-2002, 10:58 PM
To keep the music playing when click on navigation and going to other pages, try putting your site into frames with one frame containing the music player (frame 1) and your site in the other frame (frame 2). This way, when they go to other pages (within frame 2), the music continues because frame 1 is always running. Make sense? :D
zoobie
11-29-2002, 11:01 PM
PS - You probably need a title for the songlist in your code. :D
Kurupt!oN
11-30-2002, 04:36 AM
ok....so what is the full code for the jukebox? i also need like an "off" to stop music, because as i read in the posts, some people don't like music playing.
the code for some reason looks alien to me. i guess i forgot to mention that i also want to have like numbers so people can also click on to change the song.
so let's say i have 3 songs that i want on the site. it would look something like this...
off| 1| 2| 3|
or
off|
01|
02|
03|
i want the jukebox menu to look something like the one on this site www.dekaz.tk enter the site, and it's on the right corner. with numbers. [it's a menu for other pages, but he has done a page with a jukebox before]
p.s. do you guys know if www.brinkster.com have javascript enabled?
zoobie
11-30-2002, 05:09 AM
You want your jukebox to look like plain numbers? Well, yes...I suppose it could be done (?). Personally, I prefer a nice image of a old time collector's jukebox with a selection box built-in and the user clicks on their preferred song...but that's just me. :D
Javascript is client side so only the user can disable it. :thumbsup:
vBulletin® v3.8.2, Copyright ©2000-2012, Jelsoft Enterprises Ltd.