Video

Added in: release-2020-12

Example

module.exports = {
  name: 'video',
  label: 'Video',
  iconUrl: `https://livingdocs-assets.s3.amazonaws.com/magazine-design/assets/images/icons-components/icon_image.svg`,
  html: dedent`
  <div class="m-asset-image m-asset-image--numbered">
    <div class="m-asset-image__image">
      <video class="responsive-img" doc-video="video" />
    </div>
    <div class="m-asset-image__options">
      <div class="a-asset-input" doc-editable="caption">Caption</div>
      <div class="a-asset-input" doc-editable="source">Source</div>
    </div>
  </div>
  `
}