Insert a YouTube video into a html page

1

I would like to embed a video on a webpage, but I can not. What is the problem contained in this code?

<object width="425" height="344">

    <param name="movie" value="https://www.youtube.com/watch?v=JBjjnqG0BP8"></param>
    <param name="allowFullScreen" value="true"></param>
<!-- copiado -->
  <embed src="https://www.youtube.com/watch?v=JBjjnqG0BP8"type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="344">
  </embed>
</object>
    
asked by anonymous 04.11.2014 / 14:30

1 answer

1

With this code you can insert a video into your HTML page:

<iframe width="X" height="Y" src=http://www.enderecodovideo.com frameborder="0" allowfullscreen></iframe>

You need to get the EMBED address on Youtube link Where X and Y are you fill in the right size.

    
04.11.2014 / 14:46