Posted By:
Jayaprakash_A
Posted On:
Monday, July 30, 2001 07:24 AM
I have an embeded object in my HTML. I use the following code. 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"> pluginspage="http://www.microsoft.com/Windows/Downloads/Contents/Products/MediaPlayer/" src="amgg2_b00001p02.wmv" width=320 height=300 autostart=0 showcontrols=0>
More>>
I have an embeded object in my HTML. I use the following code.
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">
pluginspage="http://www.microsoft.com/Windows/Downloads/Contents/Products/MediaPlayer/"
src="amgg2_b00001p02.wmv"
width=320
height=300
autostart=0
showcontrols=0>
But, I am not able to acces this object in my javascript through layers like the following code.
document.layers['layerslideshow'].embeds['MediaPlayer1']
When I remove that "style" property in the div tag, everything works fine. Why is this. Can anyone explain this?
<<Less