Embedding video with the HTML video element
You do not need a JavaScript player just to put a video on a page. The native <video> element handles playback controls, multiple file formats, and text tracks:
<video width="500" height="300" controls>
<source src="movie.mp4" type="video/mp4">
<source src="movie.ogg" type="video/ogg">
<track src="subtitle.vtt" kind="subtitles" />
Your browser does not support the HTML5 video tag.
</video>
The browser tries each <source> in order and uses the first format it supports. The controls attribute asks it to show its native playback controls, while <track> adds subtitles from a WebVTT file.
Text between <video> and </video> is fallback content for browsers that do not support the element. In practice, the subtitle track and useful controls matter much more for modern browsers, so do not treat them as optional polish.