Check out example codes for "HOW TO USE A video on a html website from youtube". 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="560" height="315" src="https://www.youtube.com/embed/thatthingonvideourl" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>

Code Example 3

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

</iframe>

Learn ReactJs, React Native from akashmittal.com