hello,
I'm making a live broadcast website
For example :
On the center there is 10 button and in the buttom there's Windows Media Player
I want it like this:
if button1_click then play URL1
if button2_click then play URL2
if button3_click then play URL3
if button4_click then play URL4
...
..
.
This is the code to the button's
HTML Code:
<form action="alink.html"><input type="submit" value="Click Me1" /></form>
<form action="alink.html"><input type="submit" value="Click Me2" /></form>
<form action="alink.html"><input type="submit" value="Click Me3" /></form>
<form action="alink.html"><input type="submit" value="Click Me4" /></form>
<form action="alink.html"><input type="submit" value="Click Me5" /></form>
<form action="alink.html"><input type="submit" value="Click Me6" /></form>
<form action="alink.html"><input type="submit" value="Click Me7" /></form>
<form action="alink.html"><input type="submit" value="Click Me8" /></form>
<form action="alink.html"><input type="submit" value="Click Me9" /></form>
<form action="alink.html"><input type="submit" value="Click Me10" /></form>
And this is the code to WMP
HTML Code:
<OBJECT ID="OBJECT12"
CLASSID="CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6"
VIEWASTEXT>
<PARAM name="autoStart" value="True">
<param name="URL" value="http://174.36.196.135/~server4/ajm/32/001.mp3">
<PARAM name="rate" value="1">
<PARAM name="balance" value="0">
<PARAM name="enabled" value="true">
<PARAM name="enabledContextMenu" value="true">
<PARAM name="fullScreen" value="false">
<PARAM name="playCount" value="1">
<PARAM name="volume" value="100">
</OBJECT>

|