Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to add WMV file to a webpage in dreamweaver?

Status
Not open for further replies.

ei8ball

MIS
Jul 17, 2002
85
US
What do I need to do to make it so when a user clicks a link to a wmv file it'll open that file in a player right there on the website?

Thanks for any help!


Jason

You were born an original. Don't die a copy!
 
You can also use this code:
<object id=&quot;MediaPlayer&quot; width=320 height=286
classid=&quot;CLSID:22D6F312-B0F6-11D0-94AB-0080C74C7E95&quot;
standby=&quot;Loading Microsoft® Windows® Media Player components...&quot;
type=&quot;application/x-oleobject&quot;
codebase=&quot;<PARAM NAME=&quot;filename&quot; VALUE=&quot;interview_fox_video.asx&quot;>
<PARAM NAME=&quot;autoStart&quot; VALUE=&quot;true&quot;> <PARAM NAME=&quot;showControls&quot; VALUE=&quot;true&quot;>
<param name=&quot;ShowStatusBar&quot; value=&quot;true&quot;> <PARAM NAME=&quot;Autorewind&quot; VALUE=&quot;true&quot;>
<PARAM NAME=&quot;ShowDisplay&quot; VALUE=&quot;false&quot;>
<EMBED SRC=&quot;interview_fox_video.asx&quot; WIDTH=320 HEIGHT=286 type=&quot;application/x-mplayer2&quot; name=MediaPlayer autostart=1 showcontrols=0 showstatusbar=1 autorewind=1 showdisplay=0>
</EMBED></OBJECT>

Change the source (interview_fox_video.asx) in BOTH places to the path of your WMV file.

__________________________
Corey

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top