开发者

Embedded youtube video in IE9 not working

I'm trying to embed a youtube video on my site and it doesn't seem to be working in IE. Seems to work on with other browsers so far. In IE9, it displays an outline of a box where the video would be with a little red X in the top left corner.

I have tried Why does my embedded YouTube video work in Firefox, but not Internet Explorer? with no su开发者_运维技巧ccess.


Are you using 64 bit IE9? According to Adobe, they don't support it yet. There's nothing that you can do to fix it at this point.


recently i also faced same problem. but the following code works for me even on 64bit ie.

<iframe width="100%" height="100%" src="http://www.youtube.com/embed/'.$query_vars['v'].(($list)?'?list='.$list:'').'" frameborder="0" allowfullscreen></iframe>

where $query_vars['v'] is my video id and $list is the list id

You need to add embeded version of url when you integrate youtube video.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜