{#if showPlayer}
{:else}
(showPlayer = true)} >
{formatVideoDuration(data.video.movie.duration)}
{#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))}
{likesCount}
{#each data.video.models as model}
{model.artist_name}
{/each}
{data.video.description}
{#each data.video.tags as tag}
#{tag}
{/each}
{$_('videos.comments', { values: { comments: data.comments.length } })}
{#if data.comments.length > 0}
(showComments = !showComments)} > {showComments ? $_('videos.hide') : $_('videos.show')}
{/if}
{#if data.authStatus.authenticated}
{getUserInitials(data.authStatus.user!.artist_name)}
{#if isCommentError}
{$_('videos.error')}
{commentError}
{/if}
{#if isCommentLoading}
{$_('videos.commenting')} {:else} {$_('videos.comment')} {/if}
{/if} {#if showComments}
{#each data.comments as comment}
{getUserInitials(comment.user_created.artist_name)}
{comment.user_created.artist_name}
{timeAgo.format( new Date(comment.date_created) )}
{comment.comment}
{/each}
{/if}
{$_('videos.back')}