addToWatchLaterText: string
addedToWatchLaterText: string
inWatchLaterPlaylist: boolean
+ channelLinkTitle = ''
watchLaterPlaylist: {
id: number
private videoPlaylistService: VideoPlaylistService,
private cd: ChangeDetectorRef,
@Inject(LOCALE_ID) private localeId: string
- ) {
-
- }
+ ) {}
get isVideoBlur () {
return this.video.isVideoNSFWForUser(this.user, this.serverConfig)
this.setUpBy()
+ this.channelLinkTitle = this.i18n(
+ 'Go to the channel page of {{name}} ({{handle}})',
+ { name: this.video.channel.name, handle: this.video.byVideoChannel }
+ )
+
// We rely on mouseenter to lazy load actions
if (this.screenService.isInTouchScreen()) {
this.loadActions()
return ''
}
+ getAvatarUrl () {
+ if (this.ownerDisplayTypeChosen === 'account') {
+ return this.video.accountAvatarUrl
+ }
+
+ return this.video.videoChannelAvatarUrl
+ }
+
loadActions () {
if (this.displayVideoActions) this.showActions = true