HTML5 supports video tag to play video files but because of the different format of videos and browsers, not all formats are supported and I managed only to try out ogg video files.
Ogg video files can be played in Chrome and Firefox browsers.
<!DOCTYPE html> <html> <head lang='en'> <meta charset='UTF-8'> <title>Sample Video</title> </head> <body> <video controls autoplay src='https://codecrawl.com/code/html/small.ogv'></video> </body> </html>
In the above video tag, I have put the video in autoplay so that once the browser is loaded, the video will play immediately.
The controls have been added to the player as well.