Leealp
Leealp

Reputation: 13

Video upload HTML5 is not uploading on my page as expected

Hello everyone could anyone tell me why the video below is not uploading on my page?

<body>
    <p>Natural Mystic music video</p>
      <iframe width="420" height="315"
        src="https://www.youtube.com/watch?v=VkndVzfOeRc">
      </iframe> 
</body>

Upvotes: 0

Views: 37

Answers (2)

Leealp
Leealp

Reputation: 13

For those who have similar problem in the future, please DO NOT USE THE iframe tag, instead, use the format below as it works now:

    <object width="420" height="315"
        data="https://www.youtube.com/embed/VkndVzfOeRc">
    </object>

Thank you to all of you who tried to help.

Upvotes: 0

Tiberius
Tiberius

Reputation: 265

You need to use the embed form(which you can find pressing share on the youtube video), or youtube will refuse the connection.

<body>
  <iframe width="420" height="315" src="https://www.youtube.com/embed/VkndVzfOeRc">
</iframe>
</body>

Upvotes: 1

Related Questions