From f2287313273bc863d8f86b3255e5be54946810a6 Mon Sep 17 00:00:00 2001 From: Ivan Boothe Date: Mon, 3 Oct 2022 07:33:44 +0000 Subject: [PATCH 1/2] gif -> vid --- hugo/content/updates/welcome.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hugo/content/updates/welcome.md b/hugo/content/updates/welcome.md index 573ec9de..b126d698 100644 --- a/hugo/content/updates/welcome.md +++ b/hugo/content/updates/welcome.md @@ -39,7 +39,7 @@ figurePositionShow: false # Override global value for showing the figure label. # keywords: # Pages do not have tags or categories; add keywords here to include them in metadata for SEO. --- -You did it! +{{< video src="/updates/yeah.mp4" attrs="autoplay loop muted playsinline" >}} To ensure all your updates get delivered, I suggest adding **updates@rootwork.org** to your contacts or address book. (You can write to From 77bf87739a649144b4f92bdd65b08f9e38a2bb98 Mon Sep 17 00:00:00 2001 From: Ivan Boothe Date: Mon, 3 Oct 2022 16:01:32 -0700 Subject: [PATCH 2/2] Updating example for video shortcode Signed-off-by: Ivan Boothe --- hugo/layouts/shortcodes/video.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hugo/layouts/shortcodes/video.html b/hugo/layouts/shortcodes/video.html index f1af7da5..2bd36642 100644 --- a/hugo/layouts/shortcodes/video.html +++ b/hugo/layouts/shortcodes/video.html @@ -16,7 +16,7 @@ < video src="videos/myvideo.mp4" attrs="controls" > Video with autoplay on mute at 16x9 ratio and 50% width: - < video src="videos/myvideo.mp4" attrs="controls autoplay muted" ratio="16x9" width="50%" > + < video src="videos/myvideo.mp4" attrs="autoplay loop muted playsinline" ratio="16x9" width="50%" > Video with autoplay at 1x1 ratio, a custom cover image, and a link to a YouTube version with captions: < video src="videos/myvideo.mp4" cover="videos/myvideo_cover.jpg" attrs="controls autoplay mute" ratio="1x1" link="https://www.youtube.com/watch?v=aabbcc" caps="true">