This is Interesting: Free Magazines for Graphics designers and webmasters  


Home > Archive > Dreamweaver > August 2004 > How do you insert a wmv movie in a page?





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author How do you insert a wmv movie in a page?
|:::. George .::::|

2004-08-26, 12:18 pm

I need to insert a wmv in a page. Will teh movie play inthe page like
you see in quicktime movies? or it will play on another window? Because
I need it to play on the page. Thanks!

George

W3bbo

2004-08-26, 12:18 pm

Depends on what code you use

Just use <object> tag as such:

<OBJECT ID="mediaPlayer" 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 Microsoft Windows Media
Player components..." TYPE="application/x-oleobject">
<PARAM NAME="fileName"
VALUE="http://msdn.microsoft.com/downloads/samples/Internet/imedia/netshow/smedi
a/NS3/JavaScript/Buttons/control.asx">
<PARAM NAME="animationatStart" VALUE="true">
<PARAM NAME="transparentatStart" VALUE="true">
<PARAM NAME="autoStart" VALUE="true">
<PARAM NAME="showControls" VALUE="true">
</OBJECT>

Note that this is an ActiveX control, so it wont appear in non-ActiveX enabled
browsers, such as Netscape, Mozilla, and Firefox, there is alternative code
available, but I can't remember it, sorry

Sponsored Links


Copyright 2003 - 2009 forum4designers.com  Software forum  Computer Hardware reviews