G
Gina Beisel
We are trying to create a page that allows the user to choose a video
to play. A video does play as they load the page but we would like it
if they could then pick a new video from a list. This is the code so
far and we cannot figure out why it does not work. Any ideas?
<object width="346" height="247"
classid="CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95"
id="mediaplayer1" >
<param name="Filename" value="media/intern.asx">
<param name="AutoStart" value="True">
<param name="ShowControls" value="False">
<param name="ShowStatusBar" value="False">
<param name="ShowDisplay" value="False">
<param name="AutoRewind" value="True">
<script language="javascript">
function changeSrc(value) {
document.write("<PARAM NAME='Filename'
VALUE="+value+">"+"<br>"+"<EMBED SRC="+value+" ");
}
</script>
<embed
type="application/x-mplayer2"
pluginspage="http://www.microsoft.com/Windows/Downloads/Contents/MediaPlayer/"
width="346" height="247" src="media/intern.asx"
autostart="True"
showcontrols="False"
showstatusbar="False"
showdisplay="False"
autorewind="True"> </embed> </object>
<input type="button" value="AGCO"
onClick="changeSrc('media/neal.asx')">
to play. A video does play as they load the page but we would like it
if they could then pick a new video from a list. This is the code so
far and we cannot figure out why it does not work. Any ideas?
<object width="346" height="247"
classid="CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95"
id="mediaplayer1" >
<param name="Filename" value="media/intern.asx">
<param name="AutoStart" value="True">
<param name="ShowControls" value="False">
<param name="ShowStatusBar" value="False">
<param name="ShowDisplay" value="False">
<param name="AutoRewind" value="True">
<script language="javascript">
function changeSrc(value) {
document.write("<PARAM NAME='Filename'
VALUE="+value+">"+"<br>"+"<EMBED SRC="+value+" ");
}
</script>
<embed
type="application/x-mplayer2"
pluginspage="http://www.microsoft.com/Windows/Downloads/Contents/MediaPlayer/"
width="346" height="247" src="media/intern.asx"
autostart="True"
showcontrols="False"
showstatusbar="False"
showdisplay="False"
autorewind="True"> </embed> </object>
<input type="button" value="AGCO"
onClick="changeSrc('media/neal.asx')">