dialog-lightboxv0.3.1

Video

A video plays muted and inline as soon as its slide opens, started inside the click so phones allow it.

Its controls come from the <template data-dlb-overlay="video"> in the dialog, copied over each video so they move with it. data-dlb-noaudio disables the mute button for the second clip, which has no sound.

live · Video
example.html
<div id="clips" class="row">
  <a href="/media/clip-1.mp4" data-dlb-type="video" data-dlb-width="720" data-dlb-height="1280">
    <img src="/media/clip-1-480.jpg" alt="Turquoise and dark blue bands drifting" />
  </a>
  <a href="/media/clip-2.mp4" data-dlb-type="video" data-dlb-width="720" data-dlb-height="1280" data-dlb-noaudio>
    <img src="/media/clip-2-480.jpg" alt="Purple, orange and yellow bands drifting" />
  </a>
</div>
/