From d67f43226e7795614b20a2c2d665c3514e780547 Mon Sep 17 00:00:00 2001 From: "max.mehl" Date: Mon, 8 Aug 2022 17:05:29 +0200 Subject: [PATCH] add peertube tag for easy embedding of videos via download server --- build/xslt/peertube.xsl | 81 +++++++++++++++++++++++++++++++++++++++++ fsfe.xsl | 1 + 2 files changed, 82 insertions(+) create mode 100644 build/xslt/peertube.xsl diff --git a/build/xslt/peertube.xsl b/build/xslt/peertube.xsl new file mode 100644 index 0000000000..743d921be1 --- /dev/null +++ b/build/xslt/peertube.xsl @@ -0,0 +1,81 @@ + + + + + + + + + + + + + https://download.fsfe.org/videos/peertube/ + + + + + crossorigin + + + .jpg + + controls + + + video/mp4; codecs="avc1.42E01E, mp4a.40.2" + screen and (min-width:1200px) + + + _1080p.mp4 + + + + + video/mp4; codecs="avc1.42E01E, mp4a.40.2" + screen and (max-width:1199px) + + + _720p.mp4 + + + + + video/mp4; codecs="avc1.42E01E, mp4a.40.2" + screen and (max-width:420px) + + + _360p.mp4 + + + + + video/webm; codecs="vp9, opus" + screen and (min-width:1200px) + + + _1080p.webm + + + + + video/webm; codecs="vp9, opus" + screen and (max-width:1199px) + + + _720p.webm + + + + + video/webm; codecs="vp9, opus" + screen and (max-width:420px) + + + _360p.webm + + + + + + diff --git a/fsfe.xsl b/fsfe.xsl index e900090d41..448bbd7c77 100644 --- a/fsfe.xsl +++ b/fsfe.xsl @@ -19,6 +19,7 @@ +