PDA

View Full Version : embed from YouTube Not working for IE, Works for FireFox


P&JTom
10-18-09, 10:38 AM
I have embedded a youtube video on my webpage (http://stopaipac.org/olmertprotest.htm) here that works fine with my FireFox browser, does not work with my IE browser (IE 6). I just get an empty spot for the vid when i open it with the IE browser. (rest of page displays fine)

i wonder if others with an IE browser have the same problem. And can someone tell me what's going on?

Croc Hunter
10-18-09, 11:17 AM
It may be the rel= tag. This is meant to tell browsers to open in a new window/or not. Try this which should open in same window:
<object width="560" height="340"><param name="movie" value="http://www.youtube.com/v/wgN02ZTe5AU&hl=en&fs=1&"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/wgN02ZTe5AU&hl=en&fs=1&" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="560" height="340"></embed></object>
Failing that try conditional comments between your head tags to detect Windows users and display IE6 friendly content. Like this:
<!--[if IE 6]>
<p>IE6 2001 friendly code</p>
<![endif]-->IE6 has so many vulnerabilities hackers target it. You could be spreading viruses to your friends. It's a blue screen of death ticking away. I suggest you upgrade before you lose everything.