On this page
  1. <video>
  2. Summary
  3. Notes & Best Practices
  4. Example

<video>

Prev: `<figure>` | Up: media | Next: `<table>`
Rel: media, Tables & Media Guide
Ref: MDN Web Docs — <video>
Tags: #public #web #html #elements #media #tier/standard


Summary

Embeds video playback with <source> and <track kind="captions">.

Notes & Best Practices

Example

<video controls width="640" poster="thumb.jpg">
  <source src="demo.mp4" type="video/mp4" />
  <track kind="captions" src="demo-en.vtt" srclang="en" label="English" />
</video>

Linked from

Related notes