Check out example codes for "html video multiple elements". It will help you in understanding the concepts better.

Code Example 1

<video controls>
    <source src="/videos/myvideo.mp4" type="video/mp4">
    <source src="/videos/myvideo.webm" type="video/webm">
    Your browser does not support embedded videos.
</video>

Learn ReactJs, React Native from akashmittal.com