2021-07-08 10:42:38 +02:00
|
|
|
<div class='video-box'>
|
|
|
|
<div class='media' id='media-{{ .Params.uuid }}'>
|
|
|
|
<span class='video-thumbnail' id='thumb-{{ .Params.uuid }}'
|
|
|
|
href="https://tv.lumbung.space/videos/watch/{{ .Params.uuid }}"
|
|
|
|
onclick="loadPlayer(
|
|
|
|
'{{ .Params.uuid }}',
|
|
|
|
'https://tv.lumbung.space/videos/embed/{{ .Params.uuid }}'
|
|
|
|
)">
|
|
|
|
<img src="{{.Site.BaseURL}}{{ .File.Dir }}{{ .Params.preview_image }}">
|
2021-07-15 17:45:17 +02:00
|
|
|
|
|
|
|
{{ if .Params.is_live}}
|
|
|
|
<div class="video-thumbnail-duration-overlay">LIVE</div>
|
|
|
|
{{ else }}
|
2021-07-08 10:42:38 +02:00
|
|
|
<div class="video-thumbnail-duration-overlay">{{.Params.video_duration}}</div>
|
2021-07-15 17:45:17 +02:00
|
|
|
{{ end }}
|
|
|
|
|
2021-07-08 10:42:38 +02:00
|
|
|
<div class="play-overlay">
|
|
|
|
<div class="play-icon"></div>
|
|
|
|
</div>
|
|
|
|
</span>
|
|
|
|
</div>
|
2021-07-12 22:28:07 +02:00
|
|
|
<div class='video metadata'>
|
2021-07-08 10:42:38 +02:00
|
|
|
<div class='title'>{{ .Title }}</div>
|
2021-07-12 22:28:07 +02:00
|
|
|
<div class='video channel'><a href='{{ .Params.channel_url }}'> {{ .Params.video_channel }}</a></div>
|
|
|
|
<input class='descr_button' type='checkbox' id='toggle-{{ .Params.uuid }}'/>
|
|
|
|
<label class='video' for='toggle-{{ .Params.uuid }}'>↕</label>
|
|
|
|
<div class='video date'> <a href='https://tv.lumbung.space/videos/watch/{{ .Params.uuid }}'> {{ .Date.Format "Jan 02, 2006" }}</a></div>
|
2021-07-15 17:45:17 +02:00
|
|
|
<div class="description video" id='vid-{{ .Params.uuid }}'> {{ .Content }}
|
|
|
|
<ul>
|
|
|
|
{{ range (.GetTerms "categories") }}
|
|
|
|
<li><a href="{{ .Permalink }}">{{ .LinkTitle }}</a></li>
|
|
|
|
{{ end }}
|
|
|
|
</ul>
|
|
|
|
</div>
|
2021-07-08 10:42:38 +02:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|