From fc3e52b68f503d938775afc943e97626612fb4d5 Mon Sep 17 00:00:00 2001 From: George Cushen Date: Tue, 19 Aug 2025 01:13:22 +0100 Subject: [PATCH] feat: prevent BiliBili autoplay to respect web standards Also, remove BiliBili demo due to very slow loading outside China --- modules/blox-tailwind/layouts/_shortcodes/bilibili.html | 2 +- starters/academic-cv/content/post/teach-courses/index.md | 1 - starters/blog/content/blog/teach-courses/index.md | 1 - 3 files changed, 1 insertion(+), 3 deletions(-) diff --git a/modules/blox-tailwind/layouts/_shortcodes/bilibili.html b/modules/blox-tailwind/layouts/_shortcodes/bilibili.html index 75b9f52f..d6c7ee22 100644 --- a/modules/blox-tailwind/layouts/_shortcodes/bilibili.html +++ b/modules/blox-tailwind/layouts/_shortcodes/bilibili.html @@ -1,7 +1,7 @@ {{- $video_id := cond .IsNamedParams (.Get `id`) (.Get 0) -}} {{- $video_page := (cond .IsNamedParams (.Get `p`) (.Get 1)) | default 1 -}}
- diff --git a/starters/academic-cv/content/post/teach-courses/index.md b/starters/academic-cv/content/post/teach-courses/index.md index 19990a37..67eb5d8e 100644 --- a/starters/academic-cv/content/post/teach-courses/index.md +++ b/starters/academic-cv/content/post/teach-courses/index.md @@ -43,7 +43,6 @@ Teach your course by sharing videos with your students. Choose from one of the f {{}} -{{< bilibili BV1WV4y1r7DF >}} **Video file** diff --git a/starters/blog/content/blog/teach-courses/index.md b/starters/blog/content/blog/teach-courses/index.md index f1d1dd6f..3350b8df 100644 --- a/starters/blog/content/blog/teach-courses/index.md +++ b/starters/blog/content/blog/teach-courses/index.md @@ -33,7 +33,6 @@ Teach your course by sharing videos with your students. Choose from one of the f {{}} -{{< bilibili BV1WV4y1r7DF >}} **Video file**