+ 2
How do I insert a video I have tried but I can't seem to get it
5 Réponses
+ 2
Link your code and show exactly what you have tried
+ 1
Share your code
+ 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>
+ 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
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