I was looking for some help with a script.
Here is the basic concept and as always have idea but cannot implement with the script.
Here is what I have for the code
the dropdown script will be
Code:
<form action="player.htm" name="stream_selector" method="post">
<select name="s" class="stream_ddm" onchange="stream_selector.submit()">
<option> </option>
<option value="64.asx" > » unreg</option>
<option value="prem.asx" > » prem</option>
</select>
</form>
where player.htm is the file where this entire script is
here is the player script where the stream value will show
Code:
<PARAM NAME="FILENAME" VALUE="??value??"> // where I have call to show either 64.asx or prem.asx with OnChange
<PARAM NAME="AllowChangeDisplaySize" VALUE="1">
<PARAM NAME="AnimationAtStart" VALUE="0">
<PARAM NAME="AutoStart" VALUE="1">
<PARAM NAME="Autosize" VALUE="0">
<PARAM NAME="Width" VALUE="200">
<PARAM NAME="Height" VALUE="15">
so basically when trying to call the option selected in the form dropdown to be inserted in the wmp script.
... so when 64.asx is selected, then
Code:
<PARAM NAME="FILENAME" VALUE="64.asx">
or when, prem.asx is selected it will play
Code:
<PARAM NAME="FILENAME" VALUE="prem.asx">
My knowledge on scripting is very limited and would rate 1 out of 10 so please be gentle and help to provide as much details with the script.
TIA.