Before HTML5, in order to have a video play on a webpage, you would need to use a plugin like Adobe Flash Player. With the introduction of HTML5, you can now place videos directly into the page itself. The HTML5 <video> element is used to embed video in web documents. It may contain one or more video sources, represented using the src attribute or the source element. To embed a video file, just add this code snippet and change the src to the path of your video file:

<video controls>
  <source src="test.ogg" type="video /ogg">
  <source src="test.mp4" type="video /mpeg">
  Your browser does not support the video element. Kindly update it to latest version.