add video shortcode

This commit is contained in:
Reorx 2022-04-21 19:06:05 +08:00
parent 7522de02b5
commit 1d1bede075
1 changed files with 5 additions and 0 deletions

View File

@ -0,0 +1,5 @@
<video class="video-shortcode" preload="{{ .Get "preload" }}" controls>
<source src="{{ .Get "src" }}" type="{{ .Get "type" }}">
There should have been a video here but your browser does not seem
to support it.
</video>