add JA video

lektura
max.mehl 2021-11-03 13:40:26 +01:00
parent 13a5c7fe2e
commit dd3e626217
No known key found for this signature in database
GPG Key ID: 2704E4AB371E2E92
1 changed files with 2 additions and 2 deletions

View File

@ -1,5 +1,5 @@
{{ $langext := "" }}
{{ if or (eq .Lang "de") (eq .Lang "fr") (eq .Lang "it") (eq .Lang "nl") (eq .Lang "pt") (eq .Lang "ru") (eq .Lang "es") (eq .Lang "sv") }}
{{ if or (eq .Lang "de") (eq .Lang "fr") (eq .Lang "it") (eq .Lang "nl") (eq .Lang "pt") (eq .Lang "ru") (eq .Lang "es") (eq .Lang "sv") (eq .Lang "ja") }}
{{ $langext = (printf "_%s" .Lang) }}
{{ end }}
<center>
@ -8,7 +8,7 @@
<source src="https://download.fsfe.org/videos/pmpc/pmpc{{$langext}}_desktop.webm" type='video/webm; codecs="vp9, opus"' media="screen and (min-device-width:1000px)" />
<source src="https://download.fsfe.org/videos/pmpc/pmpc{{$langext}}_mobile.mp4" type='video/mp4; codecs="avc1.42E01E, mp4a.40.2"' media="screen and (max-device-width:999px)" />
<source src="https://download.fsfe.org/videos/pmpc/pmpc{{$langext}}_mobile.webm" type='video/webm; codecs="vp9, opus"' media="screen and (max-device-width:999px)" />
<track src="https://publiccode.eu/video-subs/webvtt/pmpc_en.vtt" kind="subtitles" srclang="en" label="English">
<track src="https://publiccode.eu/video-subs/webvtt/pmpc_de.vtt" kind="subtitles" srclang="de" label="Deutsch">
<track src="https://publiccode.eu/video-subs/webvtt/pmpc_es.vtt" kind="subtitles" srclang="es" label="Español">