Don't show timestamp if is 0
This commit is contained in:
@@ -65,9 +65,11 @@
|
||||
></progress>
|
||||
{/if}
|
||||
{#if !('liveVideo' in video) || !video.liveVideo}
|
||||
<div class="absolute right bottom small-margin black white-text small-text thumbnail-corner">
|
||||
{videoLength(video.lengthSeconds)}
|
||||
</div>
|
||||
{#if video.lengthSeconds !== 0}
|
||||
<div class="absolute right bottom small-margin black white-text small-text thumbnail-corner">
|
||||
{videoLength(video.lengthSeconds)}
|
||||
</div>
|
||||
{/if}
|
||||
{:else}
|
||||
<div class="absolute right bottom small-margin red white-text small-text thumbnail-corner">
|
||||
LIVE
|
||||
|
||||
Reference in New Issue
Block a user