Video

Displays a video with legend and credit.

Example

Markdown usage

{{< video 
    mp4="/videos/lawyerify-international.mp4"
    webm="/videos/lawyerify-international.webm"
    controls=true
    screenshot=true
    legend="Lorem ipsum"
    credit="Lawyerify" >}}

HTML rendered

<figure>
  <video muted playsinline controls> 
    <source src="/videos/lawyerify-international.webm" type="video/webm">
    <source src="/videos/lawyerify-international.mp4" type="video/mp4">
  </video> 
  <figcaption>
    <p>Lorem ipsum</p>
    <p class="credit">Lawyerify</p>
  </figcaption>
</figure>

Visual renderer

Lorem ipsum

Lawyerify

Datas

mp4: ""
webm: ""
controls: false // boolean
autoplay: false // boolean
loop: false // boolean
legend: "" // string
credit: "" // markdown
screenshot: false // Set true you want add fake browser around your picture

Decap CMS

Not available