Smarmosaur
Jun 10 2008, 09:22 PM
probably a silly question, but how can I have a completely customizable "music player" on my website? (set to not start automatically, but that shouldn't be a problem). I have a small image that I want to position in a certain spot, and when you click that image, it plays the music, and also switches to a second image. or is this not possible? I don't know, it's just a question.
any input appreciated. :]
1angel3
Jun 13 2008, 10:47 PM
I've seen people do that but they coded themselves. Like the code for music to play. I would look for tutorials on how to code a music player.
Oboe
Jun 13 2008, 10:56 PM
You could probably mess around with this
http://www.createblog.com/scripts/script.php?id=164just change the buttons to images.
Smarmosaur
Jun 14 2008, 08:45 PM
^that's not what i'm asking, though...
i want the image to change to a different one when they click it. and i only want that image, no title, or anything, just the image.
Melissa
Jun 15 2008, 10:03 AM
^ which is why Oboe said you could play around with it.
instead of the play button, put an image in it's place with a rollover/onclick script to change the image when clicked. you can have a hidden input value option with your song number and set the image to a "submit/play" value (or something like that - i didn't look that closely at the code). Delete the drop-down, rewind, etc version, and voila, you have an image that plays music and changes when clicked.
it's a bit more complex than what i'm describing, but if you take that cb player script, understand html and form components, it's really not too hard.
i'll try to post a more detailed description or example later b/c i have somewhere to go right now.
Smarmosaur
Jun 15 2008, 11:55 AM
OH. ok, I get what you're saying now. I guess i'll start playing around with it.
Smarmosaur
Jun 23 2008, 09:33 PM
ok, so I started playing around with that code, almost got it done except for changing the image and such...
and then. i found out the original code doesn't even work. at all.
[edit]
yay, I figured stuff out. this can be closed. :]
manny-the-dino
Jul 8 2008, 05:33 PM
Topic Closed & Moved
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please
click here.