How can I put a YouTube page in an iframe?

Find code under each video on youtoube at Share menu. When you try to put the whole YouTube page into an iframe, it sends a HTTP header called X-Frame-Options with the SAMEORIGIN value, which tells the browser, that the page can only be displayed in a frame on the same origin as the page itself.
For More Information Please Refer:


You May Also Like to Read: