misp-website/layouts/shortcodes/video.html

6 lines
346 B
HTML
Raw Normal View History

<div class="myvideo">
<video style="display:block; width:100%; height:auto;" autoplay controls loop="loop">
<source src="{{ index .Params "src" }}" {{ if isset .Params "title"}} title="{{ index .Params "title" }}" {{end}} />
Sorry, cannot display the video as the video tag is not supported by your browser.
</video>
</div>