Im using ajax to load a youtube video on the page load
$(document).ready(function(){
$.ajax({
url : '/myurl',
type:"post",
data:{"d": $('#d_id').val()},
async:false,
success:function(data){
$('#container').html(data);
//data is an emebed string
//This is what i get from PHP page
/*<embed class="frame" width="850" scrolling="no" height="415" frameborder="0" src="http://www.youtube.com/embed/' . $k[0] . '?showinfo=1&modestbranding=1&autoplay=1&rel=0&iv_load_policy=3&cc_load_policy=1&loop=1&playlist=' . $k[0] . '&wmode=transparent" frameborder="0"" allowfullscreen="yes" wmode="Opaque"></embed> */
}
});
});
Working in every browser except IE

IM getting an error “Math is undefined” as per the screen shot
If i change embed to iframe im getting more serious error such as ‘__flash__removecallback is undefined’..
UPDATE
If i use emebed the whole thing is not working in IE8
Somebody help me IE is driving me NUTS
Finally i got this
On the server side (i.e Ajax response)