View Full Version : Embed wma
cmw6988
01-10-2002, 07:50 PM
is there a way to embed a windows media file into my website?
Jason
01-14-2002, 05:53 PM
Is this what you are looking to do?
<embed src="sample.mov" width="320" height="256"></embed>
IMPORTANT
In order for the controller to appear properly, add 16 pixels to the height of a movie.
For example, set HEIGHT="256" for a movie 240 pixels high: <embed src="sample.mov" width="320" height="256"></embed>
Jason
01-14-2002, 05:55 PM
Sorry, that was MAC, windows media files use the OBJECT tag:
<OBJECT>
ID="mediaPlayer"
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 components..."
TYPE="application/x-oleobject">
<PARAM NAME="fileName"
VALUE="http://hotwired.lycos.com/webmonkey/radio/WMRadio7.mp3">
<PARAM NAME="animationatStart" VALUE="true">
<PARAM NAME="transparentatStart" VALUE="true">
<PARAM NAME="autoStart" VALUE="true">
<PARAM NAME="showControls" VALUE="true">
</OBJECT>
http://hotwired.lycos.com/webmonkey/01/49/index2a_page4.html?tw=multimedia
Oscar Petti
01-16-2002, 04:23 AM
And before cliosing the </object> add the embed tag,
otherwise it'll not work for netscape:
<Embed type="application/x-mplayer2"
pluginspage="http://www.microsoft.com/isapi/redir.dll?prd=windows&sbp=mediaplayer&ar=Media&sba=Plugin&"
src="protocol://path/filename.ext" Name=MediaPlayer
AutoStart=1
Width=some_number Height=some_number
transparentAtStart=0
animationAtStart=1
ShowControls=1
ShowStatusBar=1
autoSize=0
displaySize=0
</embed>
Oscar P.
Savizzaviz
07-29-2002, 03:03 PM
Hey...
Could I set this up so that when you click on a link it would open the video files in an embeded window thingy? I owuld like to do this with mulitiple links and just one window.
Savizzaviz
09-01-2002, 02:18 PM
Anyone know if I could do that?
vBulletin® v3.6.7, Copyright ©2000-2010, Jelsoft Enterprises Ltd.