2022-03-19 22:54:55 +00:00
|
|
|
{{- $video := .video }}
|
|
|
|
{{- $odd := .odd }}
|
2022-06-27 14:09:44 +00:00
|
|
|
{{- $id := "video"}}
|
|
|
|
{{if $video.id}}
|
|
|
|
{{- $id := $video.id}}
|
|
|
|
{{else if .id}}
|
|
|
|
{{- $id := .id }}
|
|
|
|
{{end}}
|
|
|
|
<div id="{{ $id }}" class="section {{if eq $odd 0}} section-even {{end}}">
|
2021-02-25 21:23:58 +00:00
|
|
|
<div class="section-content">
|
|
|
|
<div class="videoWrapper">
|
2022-03-19 22:54:55 +00:00
|
|
|
{{ if eq $video.video.type "mp4"}}
|
2021-02-25 21:23:58 +00:00
|
|
|
<video class="video" controls>
|
2022-03-19 22:54:55 +00:00
|
|
|
<source src="{{ $video.video.url }}" type="video/mp4">
|
2021-02-25 21:23:58 +00:00
|
|
|
</video>
|
|
|
|
{{ end }}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|