SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Zealot
    Join Date
    Aug 2010
    Posts
    143
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Why is my YouTube iframe empty ?

    I have the following iframe:

    <iframe width="370" height="300" frameborder="0" type="text/html" url="http://www.youtube.com/embed/4p0DsVPkyZg" name="video"></iframe>

    at the page:

    http://www.learnintouch.com/elearnin.../subscription/

    But it is empty on Firefox 11.0 and on Chromium 18.0

    The same problem occurs with a Vimeo url.

    Any idea ?

    Thanks

    Stephane

  2. #2
    Unobtrusively zen silver trophybronze trophy
    paul_wilkins's Avatar
    Join Date
    Jan 2007
    Location
    Christchurch, New Zealand
    Posts
    14,729
    Mentioned
    104 Post(s)
    Tagged
    4 Thread(s)
    The HTML specifications for an iframe show that the src attribute is used to determine where the content comes from, not one called url.
    Programming Group Advisor
    Reference: JavaScript, Quirksmode Validate: HTML Validation, JSLint
    Car is to Carpet as Java is to JavaScript

  3. #3
    SitePoint Zealot
    Join Date
    Aug 2010
    Posts
    143
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Sometimes, I wonder what is happening to me... Am I sleepcoding ?


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •