From: "Don West" <[EMAIL PROTECTED]>
Subject: Trying to build a web site jukebox
Hi folks!
I'm a newbie to Real Audio so bear with me please. I saw a web site with a
"jukebox" page that I'd like to reproduce in a web site I'm designing.
Basically it was a form with several checkboxes. Each checkbox represents a
song that the user may choose to listen to. There is also a "shuffle"
bradio button and a "play in order" radio button. The user selects the song
checkboxes of interest, clicks one of the radio buttons, clicks an image to
submit the form, and the realplayer plug-in starts up and plays the songs.
Simple enough.
Now, here are my observations:
In the source code for the web page, each song has an entry like this:
<INPUT TYPE=CHECKBOX NAME="pnm://music/george/homeontherange.ra"
VALUE=1>
with the applicable "songname".ra in the line.
Also, at the top of the HTML is a line like this:
<FORM ACTION="jukebox.ram" METHOD=POST>
Here are my questions:
I know what .ra files are and how to create them. I know what a .ram file
is and how to create one. I know that a .ram file activates the plug-in
and then the plug-in plays the song or list of songs in the .ram file.
Heres what I don't know:
How does the form data (i.e. the list of songs the user selected and the
"play in order" or "shuffle" stipulation) get "into" the jukebox.ram file so
that the plug-in knows what to do when it's activated by the .ram file?
Any input would be greatly appreciated!
Thanks!
Don West