Re: Player.controls.play() doesn't work in IE, but works in Firefo
- From: "Frances" <fmaxwell@xxxxxxxxx>
- Date: 14 Sep 2006 07:28:08 -0700
Er... I guess this explains why my controls never worked in Firefox :-)
It does seem rather strange that stop works but play does not.
I will try it in my implementation and see if I get the same results.
Frances
Robson WT wrote:
"Neil Smith [MVP Digital Media]" wrote:
Well that's just going to break it for FireFox isn't it ?
Yes, Firefox only works with document.getElementById().
FF doesn't have a mediaPlayer as a child of anything other than the
document - IE "helpfully" includes the window namespace in the
javascript object list so you're actually calling window.mediaPlayer
here.
But the embedded object isn't a child of the window object, it's a
child of the document object, so IE is defective (this has been known
for a long time BTW)
But the strange thing is that
document.getElementById('mediaPlayerObj').controls.stop() works fine in IE.
It is document.getElementById('mediaPlayerObj').controls.play() that doesn't
work, actually. It seems that the play() method has some issue I don't know
about that is making my test not work properly.
.
- References:
- Re: Player.controls.play() doesn't work in IE, but works in Firefox
- From: Neil Smith [MVP Digital Media]
- Re: Player.controls.play() doesn't work in IE, but works in Firefox
- Prev by Date: Re: Serious problem with search
- Next by Date: Re: Serious problem with search
- Previous by thread: Re: Player.controls.play() doesn't work in IE, but works in Firefox
- Next by thread: Re: Can you use an ASX playlist in an embedded player?
- Index(es):
Relevant Pages
|