summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorReorx <novoreorx@gmail.com>2022-04-21 19:06:05 +0800
committerReorx <novoreorx@gmail.com>2022-04-21 19:06:05 +0800
commit1d1bede0756bb72e721731c3b7b23753f829c1f9 (patch)
treefb6a0b0e11baeda1940cc78f73baf7944adf98a2
parent7522de02b51c501be31651a447ea1b195beef0cc (diff)
add video shortcode
-rw-r--r--layouts/shortcodes/video.html5
1 files changed, 5 insertions, 0 deletions
diff --git a/layouts/shortcodes/video.html b/layouts/shortcodes/video.html
new file mode 100644
index 0000000..9bb2cbb
--- /dev/null
+++ b/layouts/shortcodes/video.html
@@ -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>