Use the HTML5 video
element to embed video in your website. For example:
<video
src="video.mp4" width="320" height="240"></video
>
You can also provide multiple sources, to add support for the different video formats like h.264, WebM or Ogg:
<video
width="320" height="240"> <source type="video/mp4" src="video.mp4" /> <source type="video/webm" src="video.webm" /> <source type="video/ogg" src="video.ogv" /> </video
>
Use the HTML5 audio
element to embed MP3 files in your website. For example:
<audio
src="audio.mp3" type="audio/mp3"></audio
>