+ 1

Could someone help me in HTML ? error using <iframe>

"Refuse to display "youtube url" in a frame because it set 'X-Frame-Options' to 'sameorigin'. Line: 1" How can I change that opition ?

1st Aug 2020, 11:45 PM
Victor Gabriel
Victor Gabriel - avatar
2 Answers
2nd Aug 2020, 12:50 AM
EmmanueLZ.
EmmanueLZ. - avatar
+ 1
Victor Gabriel Unfortunately, you can't chane that. To embed a YouTube video: 1. Go to YouTube - Desktop site. (in a PC or in Chrome with Request Desktop Site option enabled on Mobile) 2. Search for the video you want to embed. 3. Open the video and click Share. 4. It should give a option to Embed. 5. Copy that iframe code and paste it in your web page.
2nd Aug 2020, 3:03 AM
Hanuma Ukkadapu
Hanuma Ukkadapu - avatar