From 878408fb5c8cfc17e695ae846fa0a13c5f0bb848 Mon Sep 17 00:00:00 2001 From: tdro Date: Sun, 12 Jun 2022 03:50:28 -0400 Subject: themes/default/layouts/partials/video-container: Source of truth for video embeds Static videos with cached copy. Convert imgur short code into a video short code helper. Replace dynamic embed with static. --- config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'config.yaml') diff --git a/config.yaml b/config.yaml index d0fe6da..6d89366 100644 --- a/config.yaml +++ b/config.yaml @@ -90,7 +90,7 @@ params: framesrc: ["'self'", imgur.com, www.youtube-nocookie.com, platform.twitter.com, en.m.wikipedia.org, odysee.com, docs.google.com] imgsrc: ["'self'", http://preview.test, imgs.xkcd.com] - mediasrc: ["'self'", raw.githubusercontent.com] + mediasrc: ["'self'", raw.githubusercontent.com, i.imgur.com] objectsrc: ["'none'"] prefetchsrc: ["'self'"] scriptsrc: ["'self'", s.imgur.com, platform.twitter.com] -- cgit v1.2.3