2020-07-27 18:30:01 +05:30
|
|
|
|
<div class="card">
|
|
|
|
|
<div class="image">
|
2020-09-15 00:09:10 +05:30
|
|
|
|
{%if config.nginxVideoStream%}
|
|
|
|
|
<img alt="Thumbnail" src="{{video.videoThumb}}">
|
|
|
|
|
{%else%}
|
2020-09-04 11:24:04 +05:30
|
|
|
|
<img alt="Thumbnail" src="/img/{{video.videoThumb.replace('/', '~')}}">
|
2020-09-15 00:09:10 +05:30
|
|
|
|
{%endif%}
|
2020-07-27 18:30:01 +05:30
|
|
|
|
</div>
|
|
|
|
|
<div class="content">
|
2020-09-07 18:49:00 +05:30
|
|
|
|
{% if video.views == "Livestream" %}
|
|
|
|
|
<a class="video-title break-word" href="#">{{video.videoTitle}}</a>
|
|
|
|
|
{% else %}
|
2020-08-31 16:58:57 +05:30
|
|
|
|
<a class="video-title break-word" href="{{url_for('watch', v=video.id, _method='GET')}}">{{video.videoTitle}}</a>
|
2020-09-07 18:49:00 +05:30
|
|
|
|
{% endif %}
|
2020-07-27 18:30:01 +05:30
|
|
|
|
<div class="meta">
|
2020-08-31 16:58:57 +05:30
|
|
|
|
<a class="break-word" href="{{url_for('channel', id=video.channelId)}}">{{video.channelName}}</a>
|
2020-07-27 18:30:01 +05:30
|
|
|
|
</div>
|
2020-08-30 02:05:29 +05:30
|
|
|
|
<div class="description break-word">
|
2020-07-27 18:30:01 +05:30
|
|
|
|
{{video.description}}
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="extra content">
|
2020-09-11 14:04:24 +05:30
|
|
|
|
{% if video.isLive == "Livestream" or video.isLive %}
|
2020-09-07 18:49:00 +05:30
|
|
|
|
<span class="right floated">
|
|
|
|
|
<i class="red circle icon"></i>
|
|
|
|
|
{{video.views}}
|
|
|
|
|
</span>
|
|
|
|
|
{% else %}
|
|
|
|
|
<span class="right floated">
|
|
|
|
|
<i class="eye icon"></i>
|
|
|
|
|
{{video.views}}
|
|
|
|
|
</span>
|
|
|
|
|
{% endif %}
|
|
|
|
|
|
2020-09-11 14:04:24 +05:30
|
|
|
|
{% if video.timeStamp == "Scheduled" or video.isUpcoming %}
|
2020-09-07 18:49:00 +05:30
|
|
|
|
<span class="right floated">
|
|
|
|
|
<i class="blue clock icon"></i>
|
|
|
|
|
{{video.timeStamp}}
|
|
|
|
|
</span>
|
|
|
|
|
{% else %}
|
|
|
|
|
<span class="right floated">
|
|
|
|
|
<i class="clock icon"></i>
|
|
|
|
|
{{video.timeStamp}}
|
|
|
|
|
</span>
|
|
|
|
|
{% endif %}
|
2020-07-27 18:30:01 +05:30
|
|
|
|
<span>
|
|
|
|
|
</span>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|