publiccode.si/site/layouts/partials/functions/video_fsfe.html

32 lines
3.1 KiB
HTML
Raw Normal View History

{{ $langext := "" }}
2021-03-12 18:28:09 +01:00
{{ 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") }}
{{ $langext = (printf "_%s" .Lang) }}
{{ end }}
<center>
<video controls="controls" poster="/img/poster.jpg" crossorigin="crossorigin" width="100%">
<source src="https://download.fsfe.org/videos/pmpc/pmpc{{$langext}}_desktop.mp4" type='video/mp4; codecs="avc1.42E01E, mp4a.40.2"' media="screen and (min-device-width:1000px)" />
<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">
2017-09-20 17:00:36 +02:00
<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">
2017-10-05 14:57:18 +02:00
<track src="https://publiccode.eu/video-subs/webvtt/pmpc_eo.vtt" kind="subtitles" srclang="eo" label="Esperanto">
2017-09-20 17:00:36 +02:00
<track src="https://publiccode.eu/video-subs/webvtt/pmpc_fr.vtt" kind="subtitles" srclang="fr" label="Français">
<track src="https://publiccode.eu/video-subs/webvtt/pmpc_hr.vtt" kind="subtitles" srclang="hr" label="Hrvatski">
2017-10-05 14:57:18 +02:00
<track src="https://publiccode.eu/video-subs/webvtt/pmpc_hu.vtt" kind="subtitles" srclang="hu" label="Magyar">
<track src="https://publiccode.eu/video-subs/webvtt/pmpc_it.vtt" kind="subtitles" srclang="it" label="Italiano">
2017-09-20 17:00:36 +02:00
<track src="https://publiccode.eu/video-subs/webvtt/pmpc_nl.vtt" kind="subtitles" srclang="nl" label="Nederlands">
2017-10-22 23:55:47 +02:00
<track src="https://publiccode.eu/video-subs/webvtt/pmpc_nb.vtt" kind="subtitles" srclang="nb" label="Norsk (bokmål)">
2019-08-07 14:35:17 +02:00
<track src="https://publiccode.eu/video-subs/webvtt/pmpc_pl.vtt" kind="subtitles" srclang="pl" label="Polski">
2017-09-20 17:00:36 +02:00
<track src="https://publiccode.eu/video-subs/webvtt/pmpc_pt.vtt" kind="subtitles" srclang="pt" label="Português">
<track src="https://publiccode.eu/video-subs/webvtt/pmpc_ru.vtt" kind="subtitles" srclang="ru" label="Русский">
2017-09-20 17:00:36 +02:00
<track src="https://publiccode.eu/video-subs/webvtt/pmpc_sk.vtt" kind="subtitles" srclang="sk" label="Slovenský">
<track src="https://publiccode.eu/video-subs/webvtt/pmpc_sq.vtt" kind="subtitles" srclang="sq" label="Shqip">
2017-10-05 14:57:18 +02:00
<track src="https://publiccode.eu/video-subs/webvtt/pmpc_sv.vtt" kind="subtitles" srclang="sv" label="Svenska">
2017-09-29 17:31:05 +02:00
<track src="https://publiccode.eu/video-subs/webvtt/pmpc_tr.vtt" kind="subtitles" srclang="tr" label="Türkçe">
2017-09-20 17:00:36 +02:00
<track src="https://publiccode.eu/video-subs/webvtt/pmpc_zh.vtt" kind="subtitles" srclang="zh" label="正體中文(臺灣)">
</video>
</center>