+ 1

Why video is not playing *this is the link to my html code* help pls https://code.sololearn.com/W90ro2I1oArn/?ref=app

Help

15th Aug 2020, 3:37 AM
Ikshet
Ikshet - avatar
2 Answers
+ 12
post link outside from ur question
15th Aug 2020, 3:50 AM
ÃKR
ÃKR - avatar
+ 2
In the youtube video page u should press Share then Embed It then gives u the correct html text to copy and paste in your code. Something like this. <iframe width="560" height="315" src="https://www.youtube.com/embed/pibRhMG3B5Y" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe> Its easier this way, later when u learn CSS and JS u would be able to change the values to make it more dynamic.
15th Aug 2020, 4:00 AM
arturop200
arturop200 - avatar