{#if showPlayer} {:else} {data.video.title}
{#if data.video.movie_file?.duration}{formatVideoDuration( data.video.movie_file.duration, )}{/if}
{#if data.video.premium}
{$_("videos.premium")}
{/if} {/if}

{data.video.title}

{#if data.video.plays_count}
{data.video.plays_count} {data.video.plays_count === 1 ? "play" : "plays"}
{/if}
{timeAgo.format(new Date(data.video.upload_date))}
{#each data.video.models as model (model.slug)} {/each}

{data.video.description}

{#each data.video.tags as tag (tag)} #{tag} {/each}

{$_("videos.comments", { values: { comments: data.comments.length, }, })}

{#if data.comments.length > 0} {/if}
{#if data.authStatus.authenticated}
{getUserInitials(data.authStatus.user!.artist_name)}
{#if isCommentError}
{$_("videos.error")} {commentError}
{/if}
{/if} {#if showComments}
{#each data.comments as comment (comment.id)}
{getUserInitials(comment.user?.artist_name)}
{comment.user?.artist_name} {timeAgo.format(new Date(comment.date_created))}

{comment.comment}

{#if data.authStatus.user?.id === comment.user_id || data.authStatus.user?.is_admin} {/if}
{/each}
{/if}