+ 2

Can I add video file on html file? If can then how?

16th Jan 2017, 3:56 PM
Sayem
Sayem - avatar
9 Respostas
+ 4
HTML5 gives you a straight forward option for this - " the <video> tag! ". It works just like the image tags. Example : < video src = " example.mp4 " type = " video/mp4 " width = " 960 " height = " 540 " controls > where : SRC is the source file TYPE is the type and format of the video ( MP4 / webm / ogg ) WIDTH, HEIGHT specify the size in pixels other attributes include : autoplay : plays video as soon as it's ready controls : specifies whether or not the controls should be displayed. loop : specifies if the video should loop repeatedly muted : mutes the audio poster : assigns a still image as a display poster Happy coding :)
16th Jan 2017, 4:05 PM
Snehith Haridas
Snehith Haridas - avatar
+ 3
answer is: <video controls> <source src="a.mp4" type="video/mp4"> <source src="a.ogg" type="video/ogg"> Video is not supported </video>
18th Dec 2019, 3:49 PM
Sankar
+ 1
<video controls> <source src="a.mp4" type="video/mp4"> <source src="a.ogg" type="video/ogg"> Video is not supported </video>
5th Jun 2020, 8:11 PM
adriandiepie
adriandiepie - avatar
0
<video controls> <source src="a.mp4" type="video/mp4"> <source src="a.ogg" type="video/ogg"> Video is not supported </video>
4th Jun 2020, 9:48 PM
Kareem Adel Awwad
Kareem Adel Awwad - avatar
0
<video controls> <source src="a.mp4" type="video/mp4"> <source src="a.ogg" type="video/ogg"> Video is not supported </video>
21st Oct 2021, 7:33 PM
Mohamed Touati
0
<video> HTML <source src="videofile.mp4" type="video/mp4"> <source src="videofile.webm" type="video/webm"> Video not supported </video> Not found WebM Video not supported Video not supported ANSWER
27th Jul 2023, 11:23 AM
Shubham Hirgude
Shubham Hirgude - avatar
- 1
sup bois, the leader of the squadron is here an imma about to pop a cheeky kfc with the crew.
2nd Jul 2019, 9:40 AM
Jack Lewis
Jack Lewis - avatar
- 1
yuioiuytdcvbjkoi76reghRearrange the code to create a valid video tag that will attempt to play the mp4 file first. <source src="a.ogg" type="video/ogg"> Video is not supported <source src="a.mp4" type="video/mp4"> <video controls> </video> Unlock Rearrange the code to create a valid video tag that will attempt to play the mp4 file first. <source src="a.ogg" type="video/ogg"> Video is not supported <source src="a.mp4" type="video/mp4"> <video controls> </video> Unlock Rearrange the code to create a valid video tag that will attempt to play the mp4 file first. <source src="a.ogg" type="video/ogg"> Video is not supported <source src="a.mp4" type="video/mp4"> <video controls> </video> Unlock Rearrange the code to create a valid video tag that will attempt to play the mp4 file first. <source src="a.ogg" type="video/ogg"> Video is not supported <source src="a.mp4" type="video/mp4"> <video controls> </video> Unlock Rearrange the code to create a valid video tag that will attempt to play the mp4 file first. <source src="a.ogg" type="video/ogg"> Video is not supported <source src="a.mp4" type="video/mp4"> <video controls> </video> Unlock Rearrange the code to create a valid video tag that will attempt to play the mp4 file first. <source src="a.ogg" type="video/ogg"> Video is not supported <source src="a.mp4" type="video/mp4"> <video controls> </video> Unlock Rearrange the code to create a valid video tag that will attempt to play the mp4 file first. <source src="a.ogg" type="video/ogg"> Video is not supported <source src="a.mp4" type="video/mp4"> <video controls> </video> Unlock Rearrange the code to create a valid video tag that will attempt to play the mp4 file first. <source src="a.ogg" type="video/ogg"> Video is not supported <source src="a.mp4" type="video/mp4"> <video controls> </video> Unlock Rearrange the code to create a valid video tag that will attempt to play the mp4 file first. <source src="a.ogg" type="
10th Dec 2019, 7:45 AM
Shaurya Prasad
Shaurya Prasad - avatar