Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

I am trying to, in effect, add tv s

Status
Not open for further replies.

ScrabbleKing

Programmer
Mar 11, 2007
20
0
0
US
I am trying to, in effect, add tv station options that one changes with a dropdown. How do I make a dropdown that changes what is played in media player onchange?

These are three of my options:

Here is the script:
Code:
<OBJECT id='mediaPlayer' width="548" height="446" 
classid='CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95' 
codebase='[URL unfurl="true"]http://activex.microsoft.com/activex/controls/[/URL] mplayer/en/nsmp2inf.cab#Version=5,1,52,701'
standby='Loading Microsoft Windows Media Player components...' type='application/x-oleobject'>
<param name='fileName' value="[URL unfurl="true"]http://interface.audiovideoweb.com/glnk/2958/play.asx">[/URL]
<param name='animationatStart' value='1'>
<param name='transparentatStart' value='1'>
<param name='autoStart' value='1'>
<param name='ShowControls' value='0'>
<param name='ShowDisplay' value='0'>
<param name='ShowStatusBar' value='0'>
<param name='loop' value='0'>
<EMBED type='application/x-mplayer2'
pluginspage='[URL unfurl="true"]http://microsoft.com/windows/mediaplayer/[/URL] en/download/'
id='mediaPlayer' name='mediaPlayer' displaysize='4' autosize='0' 
bgcolor='darkblue' showcontrols='0' showtracker='1' 
showdisplay='0' showstatusbar='0' videoborder3d='0' width="320" height="240"
src="[URL unfurl="true"]http://mydomain.com/video.wmv"[/URL] autostart='1' designtimesp='5311' loop='0'>
</EMBED>
</OBJECT>
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top