Check out example codes for "embed youtube video html". It will help you in understanding the concepts better.

Code Example 1

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

</iframe>

Code Example 2

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

</iframe>

Code Example 3

<iframe width="560" height="315" src="https://www.youtube.com/embed/videoseries?list=PLQGSXoAiT2W4W8D3397nl4OB_GxfOmJk9" allowfullscreen></iframe>

Code Example 4

<iframe id="ytplayer" type="text/html" width="640" height="360"
  src="http://www.youtube.com/embed/M7lc1UVf-VE?autoplay=1&origin=http://example.com"
  frameborder="0"/>

Code Example 5

<iframe src="example.mp4" width="100px" height="100px"></iframe>

Code Example 6

Share video

Learn ReactJs, React Native from akashmittal.com