+ 2
Why is <iframe> tag inactive on Sololearn?
I wrote a web code very recently and i tried to embed a video using the <iframe> tag but it pops an error giving some details why it won't display the embedded webpage which I don't understand. I need replies, thanks.
8 Respostas
+ 6
//I saw your code earlier, you used Facebook video in iframe, its not sololearn problem because Facebook, Google and some other site are blocked for iframe
https://stackoverflow.com/questions/9680215/load-facebook-into-an-iframe
+ 6
https://www.sololearn.com/learn/338/
I used iframe here.
https://code.sololearn.com/WR6RaiVHqJD0/?ref=app
+ 5
//Precious you can use YouTube videos in iframe by embedding
//Here is examples
https://code.sololearn.com/Wa1wGxEdZCkv/?ref=app
+ 5
//Precious here you go
<iframe src="https://www.youtube.com/embed/nKIu9yen5nc" frameborder="0" allow="autoplay; encrypted-media" allowfullscreen></iframe>
+ 2
Shudarshan Rai đ thanks for the reply. At first, I used YouTube but it didn't showed up. So I tried FB. Now I get it, thanks
+ 2
//YupđȘđȘ
+ 1
How did you make the link have an "embed" child? The link i copied was like this
https://m.youtube.com/watch?v=nKIu9yen5nc
+ 1
I just also found out that i was supposed to use the share button to get the iframe code. Thanks Shudarshan Rai đ đđ