> 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