+ 2

How can I insert a video using <iframe> in HTML?

Whenever I try to insert a video from YouTube it shows the message "Refused to display the video in a frame because it set 'X-frame option' to 'sameorigin' ". I couldn't find what's that as I am a beginner

11th Aug 2017, 2:23 PM
Tamil Selvan
Tamil Selvan - avatar
3 Answers
+ 3
whats the youtube video you are trying to embed ?url link ?
11th Aug 2017, 3:34 PM
Lord Krishna
Lord Krishna - avatar
+ 3
@Lord krishna sir."https://youtu.be/1sVr-uWZPjE" this is a trailer video
11th Aug 2017, 3:41 PM
Tamil Selvan
Tamil Selvan - avatar
11th Aug 2017, 5:10 PM
Lord Krishna
Lord Krishna - avatar