Iframe not displaying content

Posted by a coder on Stack Overflow See other posts from Stack Overflow or by a coder
Published on 2012-10-04T21:25:08Z Indexed on 2012/10/04 21:37 UTC
Read the original article Hit count: 186

Filed under:
|
|
|
|

This snippet was gathered from a random youtube video:

<iframe class="youtube-player" src="http://www.youtube.com/embed/http://www.youtube.com/v/gnrvYsZWR1c?rel=0" title="YouTube video player" type="text/html" frameborder="0" height="390" width="480"></iframe>

Again, a little easier to read:

<iframe
class="youtube-player" 
src="http://www.youtube.com/embed/http://www.youtube.com/v/gnrvYsZWR1c?rel=0" 
title="YouTube video player" 
type="text/html" 
frameborder="0" 
height="390" 
width="480"
></iframe>

It is not displaying the embedded youtube in Firefox 15.0.1 on Windows or Linux. Is there a problem with how this snippet is constructed, or is Firefox simply not displaying iframe content?

© Stack Overflow or respective owner

Related posts about html

Related posts about firefox