Showing posts with label How To Add Video In Html Css. Show all posts
Showing posts with label How To Add Video In Html Css. Show all posts

How To Add Video In Html Css

 How To Add Video In Html Css

Friends, if you want to put a <video> in html, then you have to use the video tag. Some examples are given below


<video width="320" height="240" autoplay>

 <source src="https://youtu.be/rVrpbBuSbtU" type="video/mp4"> 

<source src="https://youtu.be/rVrpbBuSbtU" type="video/ogg"> 

</video>


other wise  you may also use ifrem 

step1: open your youtube and start your video



step 2:  click on shear button and go to embed then copy code 








Step 3 : Now Pate Code in your Html File then Save And Refresh Your Browser

Code

<iframe width="560" height="315" src="https://www.youtube.com/embed/rVrpbBuSbtU" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen></iframe>
























































How To Use Audio In Html

 How To Use Audio In Html  Friends, if you want to put a  <audio>  in html, then you have to use the audio tag. Some examples are giv...