Hi this wont empty the layer after a video plugin is inserted into the layer using jquery.media

$(document).livequery(function(){
                
        $(this)
            .ready(function() {


$('.changeBitrate').change(function(event) {

$('#media').empty();
$('#media').media(attrs);

});


});
});



.....

<a id="media"></a>
<select class="changeBitrate"/>

It wont empty the plugin and will append another video plugin after changing the select menu.

I think its rendered like

<div id="media">
<div>video in here</div>
</div>

Any ideas ?

Reply via email to