0

why this appears in output when i try to put link in <iframe> like this

<iframe height="150px" width="300px" src="https://m.youtube.com/watch?v=iEW_YExXD08 allowfullscreen frameborder="0"></iframe> OUTPUT appears as : Refused to display "https://m.youtube.com/watch?v=iEW_YExXD08" i frame because it sets ' X Frame-Option to 'SAMEORIGIN' and when i used embed in between url then playback error occurs what should i do:::help required

18th Dec 2018, 6:31 AM
Ch Wasiq
Ch Wasiq - avatar
4 Respuestas
0
The reason you can find in this tutorial : https://code.sololearn.com/W99Z86dl31t5/?ref=app
18th Dec 2018, 10:14 AM
Gordon
Gordon - avatar
+ 2
Use embed that youtube provide
18th Dec 2018, 10:14 AM
Taste
Taste - avatar
+ 1
Because youtube doesnt allow its website to be put in an iframe, if the iframe is not at the same domain.
18th Dec 2018, 7:29 AM
Taste
Taste - avatar
0
then how i use this type of video in my webpage
18th Dec 2018, 9:58 AM
Ch Wasiq
Ch Wasiq - avatar