Testing with crossorigin

This commit is contained in:
Michael Boelen 2024-11-08 15:46:26 +00:00
parent 51035a93b6
commit de39b4f1bf

View file

@ -27,7 +27,7 @@
{{ if .Params.recording.embed.link }} {{ if .Params.recording.embed.link }}
<h2>Opname</h2> <h2>Opname</h2>
<video width="100%" controls> <video width="100%" controls crossorigin="anonymous">
<source src="{{ .Params.recording.embed.link }}"{{ with .Params.recording.embed.type }} type="{{ . }}"{{ else }} type="video/mp4"{{ end }}> <source src="{{ .Params.recording.embed.link }}"{{ with .Params.recording.embed.type }} type="{{ . }}"{{ else }} type="video/mp4"{{ end }}>
{{ if .Params.recording.embed.subtitles }} {{ if .Params.recording.embed.subtitles }}
{{ range $key, $value := .Params.recording.embed.subtitles }} {{ range $key, $value := .Params.recording.embed.subtitles }}