Remove SubModule Video and Add Custom One
This commit is contained in:
4
layouts/shortcodes/video.html
Normal file
4
layouts/shortcodes/video.html
Normal file
@@ -0,0 +1,4 @@
|
||||
<video controls width="100%" preload="{{ .Get "preload" | default "metadata" }}">
|
||||
<source src="{{ . | relURL }}" type="video/mp4">
|
||||
{{ with .Get "src" }}<source src="{{ . | relURL }}" type="video/mp4">{{ end }}
|
||||
</video>
|
||||
Reference in New Issue
Block a user