2021-07-29 13:35:41 +00:00
|
|
|
<div class="attribute">
|
|
|
|
<span i18n class="attribute-label">Privacy</span>
|
|
|
|
<span class="attribute-value">{{ video.privacy.label }}</span>
|
2021-06-30 07:49:45 +00:00
|
|
|
</div>
|
|
|
|
|
2021-07-29 13:35:41 +00:00
|
|
|
<div *ngIf="video.isLocal === false" class="attribute">
|
|
|
|
<span i18n class="attribute-label">Origin</span>
|
|
|
|
<a
|
|
|
|
class="attribute-value" target="_blank" rel="noopener noreferrer"
|
|
|
|
routerLink="/search" [queryParams]="{ host: getVideoHost() }"
|
|
|
|
>{{ video.originInstanceHost }}</a>
|
|
|
|
|
|
|
|
<a
|
|
|
|
i18n-title title="Open the video on the origin instance" class="glyphicon glyphicon-new-window"
|
2021-10-22 12:11:58 +00:00
|
|
|
target="_blank" rel="noopener noreferrer" [href]="video.url"
|
2021-07-29 13:35:41 +00:00
|
|
|
></a>
|
2021-06-30 07:49:45 +00:00
|
|
|
</div>
|
|
|
|
|
2021-07-29 13:35:41 +00:00
|
|
|
<div *ngIf="!!video.originallyPublishedAt" class="attribute">
|
|
|
|
<span i18n class="attribute-label">Originally published</span>
|
|
|
|
<span class="attribute-value">{{ video.originallyPublishedAt | date: 'dd MMMM yyyy' }}</span>
|
2021-06-30 07:49:45 +00:00
|
|
|
</div>
|
|
|
|
|
2021-07-29 13:35:41 +00:00
|
|
|
<div class="attribute">
|
|
|
|
<span i18n class="attribute-label">Category</span>
|
|
|
|
<span *ngIf="!video.category.id" class="attribute-value">{{ video.category.label }}</span>
|
2021-06-30 07:49:45 +00:00
|
|
|
<a
|
2021-07-29 13:35:41 +00:00
|
|
|
*ngIf="video.category.id" class="attribute-value"
|
2021-06-30 07:49:45 +00:00
|
|
|
[routerLink]="[ '/search' ]" [queryParams]="{ categoryOneOf: [ video.category.id ] }"
|
|
|
|
>{{ video.category.label }}</a>
|
|
|
|
</div>
|
|
|
|
|
2021-07-29 13:35:41 +00:00
|
|
|
<div class="attribute">
|
|
|
|
<span i18n class="attribute-label">Licence</span>
|
|
|
|
<span *ngIf="!video.licence.id" class="attribute-value">{{ video.licence.label }}</span>
|
2021-06-30 07:49:45 +00:00
|
|
|
<a
|
2021-07-29 13:35:41 +00:00
|
|
|
*ngIf="video.licence.id" class="attribute-value"
|
2021-06-30 07:49:45 +00:00
|
|
|
[routerLink]="[ '/search' ]" [queryParams]="{ licenceOneOf: [ video.licence.id ] }"
|
|
|
|
>{{ video.licence.label }}</a>
|
|
|
|
</div>
|
|
|
|
|
2021-07-29 13:35:41 +00:00
|
|
|
<div class="attribute">
|
|
|
|
<span i18n class="attribute-label">Language</span>
|
|
|
|
<span *ngIf="!video.language.id" class="attribute-value">{{ video.language.label }}</span>
|
2021-06-30 07:49:45 +00:00
|
|
|
<a
|
2021-07-29 13:35:41 +00:00
|
|
|
*ngIf="video.language.id" class="attribute-value"
|
2021-06-30 07:49:45 +00:00
|
|
|
[routerLink]="[ '/search' ]" [queryParams]="{ languageOneOf: [ video.language.id ] }"
|
|
|
|
>{{ video.language.label }}</a>
|
|
|
|
</div>
|
|
|
|
|
2021-07-29 13:35:41 +00:00
|
|
|
<div class="attribute attribute-tags">
|
|
|
|
<span i18n class="attribute-label">Tags</span>
|
2021-06-30 07:49:45 +00:00
|
|
|
<a
|
|
|
|
*ngFor="let tag of getVideoTags()"
|
2021-07-29 13:35:41 +00:00
|
|
|
class="attribute-value" [routerLink]="[ '/search' ]" [queryParams]="{ tagsOneOf: [ tag ] }"
|
2021-06-30 07:49:45 +00:00
|
|
|
>{{ tag }}</a>
|
|
|
|
</div>
|
|
|
|
|
2021-07-29 13:35:41 +00:00
|
|
|
<div class="attribute" *ngIf="!video.isLive">
|
|
|
|
<span i18n class="attribute-label">Duration</span>
|
|
|
|
<span class="attribute-value">{{ video.duration | myDurationFormatter }}</span>
|
2021-06-30 07:49:45 +00:00
|
|
|
</div>
|