View Single Post
Old 05-29-2003, 01:44 AM  
michaelw
Confirmed User
 
Join Date: May 2002
Location: Calgary, Canada
Posts: 1,342
correct me im wrong, but here is how you embed a wmv file
Code:
[OBJECT ID="MediaPlayer" WIDTH="320" HEIGHT="240" CLASSID="CLSID:22D6F312-B0F6-11D0-94AB-0080C74C7E95" TYPE="application/x-oleobject"]
[PARAM NAME="FileName" VALUE="http://domain.com/file.wmv"]
[PARAM NAME="autostart" VALUE="1"]
[PARAM NAME="showcontrols" VALUE="0"]
[EMBED TYPE="application/x-mplayer2" 
SRC="http://domain.com/file.wmv"
WIDTH="320"
HEIGHT="240"
AUTOSTART="1"
SHOWCONTROLS="0"]
[/EMBED]
[/OBJECT]
to do this, make your links point to movie.php?m=movie.wmv

create movie.php (with your design/ads/etc inside), add the code
Code:
[OBJECT ID="Media.Player" WIDTH="320" HEIGHT="240" CLASSID="CLSID:22D6F312-B0F6-11D0-94AB-0080C74C7E95" TYPE="application/x-oleobject"]
[PARAM NAME="FileName" VALUE="[? echo $m; ?]"]
[PARAM NAME="autostart" VALUE="1"]
[PARAM NAME="showcontrols" VALUE="0"]
[E.MBED TYPE="application/x-mplayer2" 
SRC="[? echo $m; ?]" 
WIDTH="320"
HEIGHT="240"
AUTOSTART="1"
SHOWCONTROLS="0"]
[/EMBED]
[/OBJECT]
replace [ with <, and ] with >
__________________
<b><a href="http://www.hotlinkprotector.com"><font color="yellow">Hotlink Protector</font></a> - Protect all your file types from hotlinking the professional way. <br>
See a demo <a href="http://www.hotlinkprotector.com/demo.html"><font color="yellow">here</font></a>, and testimonials <a href="http://www.hotlinkprotector.com/testimonials.html"><font color="yellow">here</font></a><br>ICQ: 146423631

Last edited by michaelw; 05-29-2003 at 01:48 AM..
michaelw is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote