PDA

View Full Version : Embeding


Y-STU-K
03-28-2003, 06:27 PM
Does anyone know how to embed Windows media player or the default OS's media player so that i can show videos in AVI format.

This is for CD distribution no a web site.

Quiet Storm
03-28-2003, 07:26 PM
Here's an example for WMA. Red is editable, green is your file:

<OBJECT WIDTH="320" HEIGHT="240"
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..."
TYPE="application/x-oleobject">

<PARAM NAME="FileName" value="filename.avi">
<PARAM NAME="ShowControls" value="1">
<PARAM NAME="ShowDisplay" value="1">
<PARAM NAME="ShowStatusBar" value="1">
<PARAM NAME="AutoSize" value="1">

<EMBED TYPE="application/x-mplayer2"
pluginspage="http://www.microsoft.com/Windows/Downloads/Contents/Products/MediaPlayer/"
SRC="filename.avi"
SHOWCONTROLS="0"
SHOWDISPLAY="0"
SHOWSTATUSBAR="0"
WIDTH="320"
HEIGHT="240"></EMBED>

</OBJECT >

Y-STU-K
03-28-2003, 11:01 PM
ahh thanx alot :)