Im using ajax to download youtube video to download page
$(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> */ } }); });
Work in every browser except IE

IM getting the error "Math is undefined" according to the screenshot If I insert a more serious error in the iframe im, for example, "__flash__removecallback is undefined".
UPDATE
If I use emebed, all this does not work in IE8
Anyone help me IE makes me NUTS
source share