I have a div with a Youtube video embedded via iframe.
-
Finally I got the solution.
I don't know which server side language you are using, I'm using PHP. Anyway find if the browser is IE9 then use object tag.
if (preg_match('/MSIE 9.0/', $_SERVER['HTTP_USER_AGENT'])) { /*for IE 9.0 generate with objace tag*/ ?>
In short use object
tag for IE9 and iframe
for rest.