Via SWFobject and AJAX I put in a video to a certain <div>
.
Using jQuery I tried this:
$('#youtubepreview').html('');
However that didn't remove it at all - the video still stayed right there.
Any ideas?
This worked for me:
$("#youtubepreview object").remove();