Hi,
Iam trying to embed a media player in webpage .htm and play a video clip..Which I got from MSDN Help
page displays without error but, when I press play button as per code below.It says connecting to media and displays download window but never plays..see the following code and please help me
This may not exactly dream weaver question
Iam invoking metafile naida.wvx from here..which inturn calls naida.wmv..Please try to help
Thanks
<HTML>
<HEAD>
<TITLE>Embedded Windows Media Player Control</TITLE>
</HEAD>
<BODY>
<OBJECT ID="Player" width="320" height="240"
CLASSID="CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6"
CODEBASE=" <PARAM name="URL" value="
<EMBED TYPE="application/x-mplayer2"
NAME="MediaPlayer"
WIDTH=320
HEIGHT=240>
</EMBED>
</OBJECT>
<BR>
<INPUT TYPE="BUTTON" NAME="BtnPlay" VALUE="Play" OnClick="StartMeUp()">
<INPUT TYPE="BUTTON" NAME="BtnStop" VALUE="Stop" OnClick="ShutMeDown()">
<SCRIPT language="javascript">
<!--
function StartMeUp ()
{
Player.controls.play();
}
function ShutMeDown ()
{
Player.controls.stop();
}
-->
</SCRIPT>
</BODY>
</HTML>
Iam trying to embed a media player in webpage .htm and play a video clip..Which I got from MSDN Help
page displays without error but, when I press play button as per code below.It says connecting to media and displays download window but never plays..see the following code and please help me
This may not exactly dream weaver question
Iam invoking metafile naida.wvx from here..which inturn calls naida.wmv..Please try to help
Thanks
<HTML>
<HEAD>
<TITLE>Embedded Windows Media Player Control</TITLE>
</HEAD>
<BODY>
<OBJECT ID="Player" width="320" height="240"
CLASSID="CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6"
CODEBASE=" <PARAM name="URL" value="
<EMBED TYPE="application/x-mplayer2"
NAME="MediaPlayer"
WIDTH=320
HEIGHT=240>
</EMBED>
</OBJECT>
<BR>
<INPUT TYPE="BUTTON" NAME="BtnPlay" VALUE="Play" OnClick="StartMeUp()">
<INPUT TYPE="BUTTON" NAME="BtnStop" VALUE="Stop" OnClick="ShutMeDown()">
<SCRIPT language="javascript">
<!--
function StartMeUp ()
{
Player.controls.play();
}
function ShutMeDown ()
{
Player.controls.stop();
}
-->
</SCRIPT>
</BODY>
</HTML>