I found I was getting more consistent results with the setTimeout call.

On 10/29/07, King Bukkum <[EMAIL PROTECTED]> wrote:
>
> Hi Mike,
>
> It works again. Thanks! Just a little question: why do is setTimeout
> used?
>
> On 28 okt, 17:49, "Mike Alsup" <[EMAIL PROTECTED]> wrote:
> > > Hope somebody can help me with this problem:
> >
> > > I have 10 links displaying 10 different streams. When clicking on link
> > > 1, I want to display stream 1 in div#player-window. When clicking on
> > > link 2, I want to display stream 2 in div#player-window. And so on...
> >
> > > In Firefox this works well, but in IE the precending stream keeps
> > > playing in the background, when clicking on another stream and a new
> > > embedded object is created.....
> >
> > > This is my code:
> >
> > > $('.link).click(function() {
> >
> > > $('#player-window').media( {src: XXXX,type: XXXX});
> >
> > > });
> >
> > This may help:
> >
> > http://www.malsup.com/jquery/media/replace.html
>
>

Reply via email to