aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThedro Neely <thedroneely@gmail.com>2021-12-02 20:06:12 -0500
committerThedro Neely <thedroneely@gmail.com>2021-12-02 20:06:12 -0500
commit86b248c6827e29070e6df8d69f544f603e511a28 (patch)
tree9039659a33a197de3f2ae681a21947ab1f1d8d0b
parentca1acae8abe8205b9c0bbce7ea5edb8e41f372ba (diff)
downloadthedroneely.com-86b248c6827e29070e6df8d69f544f603e511a28.tar.gz
thedroneely.com-86b248c6827e29070e6df8d69f544f603e511a28.tar.bz2
thedroneely.com-86b248c6827e29070e6df8d69f544f603e511a28.zip
generators/hugo/layouts/shortcodes/video: Preload is render blocking
-rw-r--r--generators/hugo/themes/tdro/layouts/shortcodes/video.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/generators/hugo/themes/tdro/layouts/shortcodes/video.html b/generators/hugo/themes/tdro/layouts/shortcodes/video.html
index d754605..ea88034 100644
--- a/generators/hugo/themes/tdro/layouts/shortcodes/video.html
+++ b/generators/hugo/themes/tdro/layouts/shortcodes/video.html
@@ -1,7 +1,7 @@
<div class="video has-text-centered">
- <video width="{{ .Get `width` }}" height="{{ .Get `height`}}" controls {{ .Get `options` | safeHTMLAttr }}>
+ <video preload="none" poster="{{ .Get `poster` }}" width="{{ .Get `width` }}" height="{{ .Get `height`}}" controls {{ .Get `options` | safeHTMLAttr }}>
<source src="{{ .Get `source` }}" type="video/mp4">
- Your browser does not support the video tag.
+ Your browser does not support the video tag.
</video>
<footer class="has-text-centered has-text-grey-dark">{{ .Inner }}</footer>
</div>