HOW TO ADD VIDEO AND AUDIO IN HTML5

AVADHESH PATEL

Total Post:257

Points:1285
Posted by  AVADHESH PATEL
HTML5 
 3179  View(s)
Ratings:
Rate this:
  1. AVADHESH PATEL

    Post:257

    Points:1285
    How to add video and audio in HTML5

    Like below we can add video in html5

    <video width="320" height="240" controls="controls">
      <source src="pcds.mp4" type="video/mp4" />
      <source src="pcds.ogg" type="video/ogg" />
      </video>
    And audie like this
    <audio controls="controls">
      <source src="song.ogg" type="audio/ogg" />
      <source src="song.mp3" type="audio/mpeg" />
      </audio>

Answer

NEWSLETTER

Enter your email address here always to be updated. We promise not to spam!