Embeding videos on website HTML | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Embeding videos on website HTML

Does anyone know how to embed a video image (about 5 seconds long) for HTML so that the video image can look by itself on a webpage? And for the source and video would I just add the URL? Another question, what if its a video recorded on an iPhone? How can I extract that source to put it into the code?

13th Jun 2019, 8:29 PM
Bruna Del Ciel
2 Answers
+ 4
If the video is on the internet, and it's readable (flash, ogg, webm, mp4), then yes, you should use the URL. But if it's on your phone, only you can access it. The first half of the question I already answered
13th Jun 2019, 8:33 PM
Airree
Airree - avatar
+ 1
https://www.sololearn.com/learn/338/?ref=app https://www.sololearn.com/learn/HTML/2194/?ref=app When you have a video on your phone, you have to copy that video on your computer (in example your desktop) and put in a link to the video in your html file. Example: src="C:\Users\[YOUR USERNAME]\Desktop\video.mp4"
13th Jun 2019, 8:42 PM
TheLastCookie
TheLastCookie - avatar