+ 2
Can I add video file on html file? If can then how?
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 :)
+ 3
answer is:
<video controls>
<source src="a.mp4" type="video/mp4">
<source src="a.ogg" type="video/ogg">
Video is not supported
</video>
+ 1
<video controls>
<source src="a.mp4" type="video/mp4">
<source src="a.ogg" type="video/ogg">
Video is not supported
</video>
0
<video controls>
<source src="a.mp4" type="video/mp4">
<source src="a.ogg" type="video/ogg">
Video is not supported
</video>
0
<video controls>
<source src="a.mp4" type="video/mp4">
<source src="a.ogg" type="video/ogg">
Video is not supported
</video>
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
- 1
sup bois, the leader of the squadron is here an imma about to pop a cheeky kfc with the crew.
- 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="