Check out example codes for "iframe render html in angular". It will help you in understanding the concepts better.

Code Example 1

yt = '<iframe class="w-100" src="https://www.youtube.com/embed/KS76EghdCcY?rel=0&controls=0" frameborder="0" allow="autoplay; encrypted-media" allowfullscreen></iframe>';

Learn ReactJs, React Native from akashmittal.com