+ 1
Why video is not playing *this is the link to my html code* help pls https://code.sololearn.com/W90ro2I1oArn/?ref=app
Help
2 Answers
+ 12
post link outside from ur question
+ 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.