Hello Reader's if you want to integrate vedio from your own server to your webpage then you can use HTML5.
Now HTML5 offers you to use <vedio> tag. Lets see the example as below to show vedio
<!DOCTYPE html>
<html>
<body>
<video width="400" controls>
<source src="../vedios/setyourfile.mp4" type="video/mp4">
</video>
<p>
example of vedio player by FindNerd
</p>
</body>
</html>
Output:-
.
This is the example of vedio player by FindNerd.
As you can see by the code above your vedio player will load. Now you have to assign the cedio to it.
In the line <source src="../vedios/setyourfile.mp4" type="video/mp4"> here you have to set the file location of your file, file must in format of mp4. Then refresh your page and vedio will play. This code is tested and it's works fine for me.
0 Comment(s)