I want to show YouTube videos through an iFrame on my page, but if I set the iFrame src to the YouTube URL, I get blocked because X-Frames-Options is set to sameorigin. I did find one YouTube video that works. If I set my iFrame src to https://www.youtube.com/embed/LSHuGxB3tTU it plays fine. The key seems to be the embed/ directory. Do all YouTube videos have a version in an embed/ directory that I could pull and show? I don't see anything in the video settings on the YouTube page that mentions embed/.
Thanks for any ideas.