Playing videos on the website is sometimes difficult, but if you already know the right and powerful plugins then everything will feel easier.
Image By: waferboard
How to use it is quite easy, try following the steps below.
Create an html file with the name index.html, then between the head and /head write the following script
What you need to see there are two files, namely video-js.css and video.js, where both files are obtained from the official video.js website or the video.js github page
For the body, just write the following script
It can be seen that the script above uses the html5 tag, namely video and is added to the data-setup from video.js.
You can replace the following parts:
poster: (image that appears before the video is played).
src: for PATH location and filename.
To make it easier we can also generate the desired code.