davidjmorin
10-08-2007, 02:09 PM
Hey everyone...i was wondering if you could help me out. i was wondering how i could have video links on my page load into the embedded player that is on the page. i know you can do it just i dont know the code. i can do it with a drop down but how do i do it with the links not in a drop box? example source:
also how to make it mozilla compatible
<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>
also how to make it mozilla compatible
<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>