Plz help i can not add video in html ? I used <iframe width="425" height="344" src="" frameborder="0" allowfullscreen></iframe> | Sololearn: Learn to code for FREE!

+2

Plz help i can not add video in html ? I used <iframe width="425" height="344" src="" frameborder="0" allowfullscreen></iframe>

I used link form you tube app (shere- copy clipboard) but didn't worked plz help after link entered some massage given in output red sentence say refused display "https://m.youtube.com/watch?=1taggdfcbpu&feature="youtu.be"in a frame because it set "x- frame- options"to sameorigin . line:1 plz help gayz how to fix

10/16/2017 9:03:05 AM

kalpesh Dharpure

3 Answers

New Answer

+5

You probably need to use the YouTube embed url in following format:- https://www.youtube.com/embed/{your video id} In this case, the id is 1taggdfcbpu. Try it and let us know whether it works. 😉

+1

Your Line of code is trying to embed the whole YouTube website, rather then the video only. try this link in the src ; http://www.youtube.com/embed/1taggdfcbpu Embeddings whole website is restricted.

0

thank you all of you it's worked now