aboutsummaryrefslogtreecommitdiff
path: root/generators/hugo/themes/tdro/layouts/shortcodes/video.html
diff options
context:
space:
mode:
Diffstat (limited to 'generators/hugo/themes/tdro/layouts/shortcodes/video.html')
-rw-r--r--generators/hugo/themes/tdro/layouts/shortcodes/video.html15
1 files changed, 10 insertions, 5 deletions
diff --git a/generators/hugo/themes/tdro/layouts/shortcodes/video.html b/generators/hugo/themes/tdro/layouts/shortcodes/video.html
index 47d0c46..719e212 100644
--- a/generators/hugo/themes/tdro/layouts/shortcodes/video.html
+++ b/generators/hugo/themes/tdro/layouts/shortcodes/video.html
@@ -1,7 +1,12 @@
-<div class="video has-text-centered">
- <video preload="none" poster="{{ .Get `poster` }}" width="{{ .Get `width` }}" height="{{ .Get `height`}}" controls {{ .Get `options` | safeHTMLAttr }}>
+<video-container>
+ <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.
+ Sorry, your browser doesn't support embedded videos.
</video>
- <footer class="has-text-centered has-text-grey-dark">{{ .Inner | markdownify }}</footer>
-</div>
+ <footer class="has-text-grey-dark">{{ .Inner | markdownify }}</footer>
+</video-container>