+ 4

Hello everyone plase any one tell how to insert audio and video in html

26th Jan 2021, 3:41 AM
PARVESH
PARVESH - avatar
2 odpowiedzi
+ 2
Thanks for asking this question here. To insert a video in HTML, we use <video> tag or element which is used to show a video on a web page. <video width="100" height="75" controls> <source src ="file.mp4" type="video/mp4"> not supported here. </video> It controls the video in three ways are as follows as: 1) To control the play state of video 2) To control the pause state of video 3) To control the volume of video It is good practice to add width and height attribute in video to adjust your video file on a web page. The <source> tag or element is used to specify the link or path of video file which we take from browser. The text between <video> and </video> tag is used when your browser does not support <video> tag or element in it. The video tag support in the following web browsers are: 1) Opera 10.5 2) Google Chrome 4.0 3) Mozzila Firefox 3.5 4) Safari 4.0 Hope! You will understand my answer.
26th Jan 2021, 4:33 AM
ANSHU
ANSHU - avatar