</div>
<my-video-watch-playlist
- #videoWatchPlaylist
- [playlist]="playlist" class="playlist"
- (videoFound)="onPlaylistVideoFound($event)"
+ #videoWatchPlaylist [playlist]="playlist"
+ (noVideoFound)="onPlaylistNoVideoFound()" (videoFound)="onPlaylistVideoFound($event)"
></my-video-watch-playlist>
<my-plugin-placeholder pluginId="player-next"></my-plugin-placeholder>
</div>
- <my-video-alert [video]="video"></my-video-alert>
+ <my-video-alert [video]="video" [noPlaylistVideoFound]="noPlaylistVideoFound"></my-video-alert>
<!-- Video information -->
<div *ngIf="video" class="margin-content video-bottom">
<div class="pt-3 border-top video-info-channel d-flex">
<div class="video-info-channel-left d-flex">
- <my-video-avatar-channel [video]="video" [genericChannel]="isChannelDisplayNameGeneric()"></my-video-avatar-channel>
+ <my-video-avatar-channel [video]="video" [showChannel]="!isChannelDisplayNameGeneric()"></my-video-avatar-channel>
- <div class="video-info-channel-left-links ml-1">
+ <div class="video-info-channel-left-links ms-1">
<ng-container *ngIf="!isChannelDisplayNameGeneric()">
<a [routerLink]="[ '/c', video.byVideoChannel ]" i18n-title title="Channel page">
{{ video.channel.displayName }}
</div>
- <my-video-description [video]="video"></my-video-description>
+ <my-video-description [video]="video" (timestampClicked)="handleTimestampClicked($event)"></my-video-description>
- <div class="video-attributes mb-3">
- <div class="video-attribute">
- <span i18n class="video-attribute-label">Privacy</span>
- <span class="video-attribute-value">{{ video.privacy.label }}</span>
- </div>
-
- <div *ngIf="video.isLocal === false" class="video-attribute">
- <span i18n class="video-attribute-label">Origin</span>
- <a class="video-attribute-value" target="_blank" rel="noopener noreferrer" [href]="getVideoUrl()">{{ video.originInstanceHost }}</a>
- </div>
-
- <div *ngIf="!!video.originallyPublishedAt" class="video-attribute">
- <span i18n class="video-attribute-label">Originally published</span>
- <span class="video-attribute-value">{{ video.originallyPublishedAt | date: 'dd MMMM yyyy' }}</span>
- </div>
-
- <div class="video-attribute">
- <span i18n class="video-attribute-label">Category</span>
- <span *ngIf="!video.category.id" class="video-attribute-value">{{ video.category.label }}</span>
- <a
- *ngIf="video.category.id" class="video-attribute-value"
- [routerLink]="[ '/search' ]" [queryParams]="{ categoryOneOf: [ video.category.id ] }"
- >{{ video.category.label }}</a>
- </div>
-
- <div class="video-attribute">
- <span i18n class="video-attribute-label">Licence</span>
- <span *ngIf="!video.licence.id" class="video-attribute-value">{{ video.licence.label }}</span>
- <a
- *ngIf="video.licence.id" class="video-attribute-value"
- [routerLink]="[ '/search' ]" [queryParams]="{ licenceOneOf: [ video.licence.id ] }"
- >{{ video.licence.label }}</a>
- </div>
-
- <div class="video-attribute">
- <span i18n class="video-attribute-label">Language</span>
- <span *ngIf="!video.language.id" class="video-attribute-value">{{ video.language.label }}</span>
- <a
- *ngIf="video.language.id" class="video-attribute-value"
- [routerLink]="[ '/search' ]" [queryParams]="{ languageOneOf: [ video.language.id ] }"
- >{{ video.language.label }}</a>
- </div>
-
- <div class="video-attribute video-attribute-tags">
- <span i18n class="video-attribute-label">Tags</span>
- <a
- *ngFor="let tag of getVideoTags()"
- class="video-attribute-value" [routerLink]="[ '/search' ]" [queryParams]="{ tagsOneOf: [ tag ] }"
- >{{ tag }}</a>
- </div>
-
- <div class="video-attribute" *ngIf="!video.isLive">
- <span i18n class="video-attribute-label">Duration</span>
- <span class="video-attribute-value">{{ video.duration | myDurationFormatter }}</span>
- </div>
- </div>
+ <my-video-attributes [video]="video"></my-video-attributes>
<my-video-comments
class="border-top"
></my-recommended-videos>
</div>
- <my-privacy-concerns></my-privacy-concerns>
+ <my-privacy-concerns *ngIf="video" [video]="video"></my-privacy-concerns>
</div>
<my-player-styles></my-player-styles>