less raw html
add video shortcode avoid linking to youtube, download my own video
This commit is contained in:
parent
39580917c9
commit
9653cd67ba
3 changed files with 5 additions and 1 deletions
4
layouts/shortcodes/video.html
Normal file
4
layouts/shortcodes/video.html
Normal file
|
@ -0,0 +1,4 @@
|
|||
<video width="100%" preload="{{ .Get "preload" }}" controls>
|
||||
<source src="{{ .Get "src" }}" type="{{ .Get "type" }}">
|
||||
Your browser does not seem to support the video {{ .Get "src" }}.
|
||||
</video>
|
Loading…
Add table
Add a link
Reference in a new issue