+ 2

How do I insert a video I have tried but I can't seem to get it

https://code.sololearn.com/WDAsIshzyciI/?ref=app

14th Jun 2023, 1:56 PM
Precious Nyebuchi
Precious Nyebuchi - avatar
5 Réponses
+ 2
Link your code and show exactly what you have tried
14th Jun 2023, 2:08 PM
Lisa
Lisa - avatar
+ 1
Share your code
14th Jun 2023, 3:42 PM
Hasnain [ACTIVE CHALLENGER]
Hasnain [ACTIVE CHALLENGER] - avatar
+ 1
<iframe width="560" height="315" src="https://www.youtube.com/embed/OywdK-GIDnw" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen> </iframe>
17th Jun 2023, 7:07 AM
Vaibhav
Vaibhav - avatar
+ 1
Comments in html are written like this: <!-- Comment --> (Not with ".") Your html tags are mismatched. Remove the video tag and the source tag, leave only the iframe: <iframe width="560" height="315" src="https://www.youtube.com/embed/OywdK-GIDnw" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen></iframe> Here's a How-to: https://www.w3schools.com/html/html_youtube.asp
17th Jun 2023, 7:56 AM
Lisa
Lisa - avatar
0
Just copy and paste the iframe element provided by Youtube. Dont use it as value of the src attribute nor inside the video tag. and remove that 'ale' word inside JS tab
14th Jun 2023, 4:19 PM
arturop200
arturop200 - avatar