I am trying to target a page containing windows media from a different layer with custom controls (instead of the horrible windows ones). i have a function that is called by the button that accesses the payer like so
function ShutMeDown ()
{
top.video.NSPlay.controls.stop();
}
the frame is called video and i have tried loading blank pages into this to check the referance works which it does ...
The embedded WM players ID'd as "NSPlay"
i got the control function direct from the MicroSoft site so it should work (see below).
function ShutMeDown ()
{
Player.controls.stop();
}
I'm fairly new to this DOM lark and my Jscript is pretty poor to (but hey i'm a flash developer and actionscript is a little easier on the heed)
Could anyone enlighten me as to what i'm doing wrong i get a 'this is not an object' error message.
Thanks
James
function ShutMeDown ()
{
top.video.NSPlay.controls.stop();
}
the frame is called video and i have tried loading blank pages into this to check the referance works which it does ...
The embedded WM players ID'd as "NSPlay"
i got the control function direct from the MicroSoft site so it should work (see below).
function ShutMeDown ()
{
Player.controls.stop();
}
I'm fairly new to this DOM lark and my Jscript is pretty poor to (but hey i'm a flash developer and actionscript is a little easier on the heed)
Could anyone enlighten me as to what i'm doing wrong i get a 'this is not an object' error message.
Thanks
James
Comment