Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS I need help to embed youtube video

  • This topic is empty.
Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #40593
    c_parsonage
    Member

    I am trying to embed a youtube video into my page but cannot get it to validate, I was told that I needed to change iframe to object but do not know how to do this, I was told there is a code to do it? please help!

    #113266
    Senff
    Participant

    Just use the code that Youtube gives you, either the iFrame version or the old-school embedded version. Don’t worry about validation. If something doesn’t validate, it doesn’t necessarily mean it’s “wrong” or “bad”.

    #113269
    c_parsonage
    Member

    i have read that its not too important, but I need it to validate for my assignment, is there a way I can do this?

    #113291
    amoss
    Participant

    Something like this?

    #113292
    amoss
    Participant
    #113300
    JDS
    Member

    Most of the time, the reason things don’t validate when it comes to youtube is “allowfullscreen” is not a “tag” etc. Just delete that bit. Also use & for every ampersand you see in the code.

    #113301
    JDS
    Member

    &

    #113318
    c_parsonage
    Member

    thanks :)

Viewing 8 posts - 1 through 8 (of 8 total)
  • The forum ‘CSS’ is closed to new topics and replies.