mirror of
https://github.com/0rangebananaspy/authelia.git
synced 2024-09-14 22:47:21 +07:00
12 lines
409 B
HTML
12 lines
409 B
HTML
|
<div class="ratio ratio-{{ with .Get "ratio" }}{{.}}{{ end }}">
|
||
|
<video{{ with .Get "attributes" }} {{ . | safeHTMLAttr }}{{ end }}>
|
||
|
{{ with .Get "webm-src" -}}
|
||
|
<source src="{{ . | relURL }}" type="video/webm">
|
||
|
{{ end -}}
|
||
|
{{ with .Get "mp4-src" -}}
|
||
|
<source src="{{ . | relURL }}" type="video/mp4">
|
||
|
{{ end -}}
|
||
|
Sorry, your browser doesn't support embedded videos.
|
||
|
</video>
|
||
|
</div>
|