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 >