cdp103188
08-14-2007, 02:57 PM
So I am completely new at adding video to my website and don't even know where to start, I tryed the tutorial for multimedia on w3schools but it seemed very remidial and didn't really help me....
to see a live version of what I tryed to do go to
http://www.hunt-private-land.com/videos.asp
here is the code i am using for one of the videos:
<center>
<OBJECT ID="MediaPlayer" WIDTH="500" HEIGHT="500" CLASSID="CLSID:22D6F312-B0F6-11D0-94AB-0080C74C7E95"
STANDBY="Loading Windows Media Player components..." TYPE="application/x-oleobject">
<PARAM NAME="FileName" VALUE="files/videos/vid1.wmv">
<PARAM name="autostart" VALUE="true">
<PARAM name="ShowControls" VALUE="true">
<param name="ShowStatusBar" value="false">
<PARAM name="ShowDisplay" VALUE="false">
<EMBED TYPE="application/x-mplayer2" SRC="files/videos/vid1.wmv" NAME="MediaPlayer"
WIDTH="500" HEIGHT="500" ShowControls="1" ShowStatusBar="0" ShowDisplay="0" autostart="0" autosize="-1"> </EMBED>
</OBJECT>
</center>
The video's play on my work computer, but they don't do anything on my home computer, so can someone tell me what I am doing wrong, or maybe just point me in the direction of a good tutorial or maybe an old thread?
Any help would be much appreciated.
-Cameron
to see a live version of what I tryed to do go to
http://www.hunt-private-land.com/videos.asp
here is the code i am using for one of the videos:
<center>
<OBJECT ID="MediaPlayer" WIDTH="500" HEIGHT="500" CLASSID="CLSID:22D6F312-B0F6-11D0-94AB-0080C74C7E95"
STANDBY="Loading Windows Media Player components..." TYPE="application/x-oleobject">
<PARAM NAME="FileName" VALUE="files/videos/vid1.wmv">
<PARAM name="autostart" VALUE="true">
<PARAM name="ShowControls" VALUE="true">
<param name="ShowStatusBar" value="false">
<PARAM name="ShowDisplay" VALUE="false">
<EMBED TYPE="application/x-mplayer2" SRC="files/videos/vid1.wmv" NAME="MediaPlayer"
WIDTH="500" HEIGHT="500" ShowControls="1" ShowStatusBar="0" ShowDisplay="0" autostart="0" autosize="-1"> </EMBED>
</OBJECT>
</center>
The video's play on my work computer, but they don't do anything on my home computer, so can someone tell me what I am doing wrong, or maybe just point me in the direction of a good tutorial or maybe an old thread?
Any help would be much appreciated.
-Cameron