www.webdeveloper.com
Results 1 to 2 of 2

Thread: media player question

  1. #1
    Join Date
    May 2007
    Posts
    32

    media player question

    how do i change the following code so that i can have a list rather then a dropdown box?

    HTML Code:
    <html>
    <head>
    
    
    </head>
    <body bgcolor="6699cc" >
    
    
    
    
    
    
    
    <center>WILL ONLY WORK IN INTERNET EXPLORER<BR><BR>
    
    
    <OBJECT ID="MediaPlayer" width=320 height=310 classid="CLSID:22D6F312-B0F6-11D0-94AB-0080C74C7E95" codebase="http://activex.microsoft.com/activex/controls/ mplayer/en/nsmp2inf.cab#Version=5,1,52,701" standby= "Loading Media Player" type="application/x-oleobject">
    <PARAM NAME="FileName" VALUE="video/ceramica.avi">
    <PARAM NAME="AutoStart" Value="True">
    <PARAM NAME="ShowControls" VALUE="True">
    <PARAM NAME="ShowStatusBar" VALUE="True">
    <EMBED type="application/x-mplayer2" pluginspage="http://www.microsoft.com/Windows/MediaPlayer/" SRC="video/ceramica.avi" width=320 height=310 name="MediaPlayer" autostart="True" ShowStatusBar=1 ShowControls=1 >
    </EMBED>
    </OBJECT>
    
    
    <FORM name="MediaForm">
    <select NAME="VidChange" onChange="{document.MediaPlayer.FileName = document.MediaForm.VidChange.options[document.MediaForm.VidChange.selectedIndex].value}">
    
    <option VALUE="http://davidmorin.net/clips/david.mpg">ethan at bat
    <OPTION VALUE="http://davidmorin.net/clips/david.mpg">test
    <OPTION VALUE="http://davidmorin.net/clips/david.mpg">test
    <OPTION VALUE="http://davidmorin.net/clips/david.mpg">test
    
    <OPTION VALUE="http://davidmorin.net/clips/david.mpg">test
    </SELECT>
    
    <BR><BR>
    
    <BR>
    
    </HTML>

  2. #2
    Join Date
    Apr 2003
    Location
    Netherlands
    Posts
    21,654
    Learn html it's not difficult.
    At least 98% of internet users' DNA is identical to that of chimpanzees

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles