Video HTML5 | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson

Video HTML5

Hello! Can anyone please tell me why this video does not work? Where was I wrong? I use Google Chrome. The video appears but when I press "play" nothing happens. <!DOCTYPE html> <html> <head> <title>First page</title> </head> <body> <video controls> <source src="" type="video/mp4"> <source src="" type="video/ogg"> Video is not supported by your browser </video> </body> </html>

21st Aug 2019, 1:24 PM
Alexandra Nistor
Alexandra Nistor - avatar
2 Answers
+ 9
Get the embed link and put it in an iframe
21st Aug 2019, 1:38 PM
Gordon - avatar
@Gordon Got it! Thanks!
23rd Aug 2019, 9:29 AM
Alexandra Nistor
Alexandra Nistor - avatar