+ 1
Specifying video source.
"You can specify the video source URL using an attribute in a video element, or using source elements inside the video element." Could somoene kindly explain the difference between these two?
3 Antworten
+ 4
It means, you can do it like this:
<video src="http://www.sololearn.com/uploads/video.mp4" type="video/mp4" controls>
Video element not supported by your browser
</video>
Or this:
<video controls>
<source src="http://www.sololearn.com/uploads/video.mp4" type="video/mp4">
Video element is not supported by your browser
</video>
+ 2
You're welcome, Msizi 😊
+ 1
Thanks a lot Kishalaya