} from '@angular/core'
import { AuthService, ScreenService, ServerService, User } from '@app/core'
import { ServerConfig, VideoPlaylistType, VideoPrivacy, VideoState } from '@shared/models'
+import { ActorAvatarSize } from '../shared-actor-image/actor-avatar.component'
import { Video } from '../shared-main'
import { VideoPlaylistService } from '../shared-video-playlist'
import { VideoActionsDisplayType } from './video-actions-dropdown.component'
}
@Input() displayVideoActions = true
+ @Input() actorImageSize: ActorAvatarSize = '40'
+
@Input() displayAsRow = false
@Input() videoLinkType: VideoLinkType = 'internal'
return ''
}
- getAvatarUrl () {
- if (this.displayOwnerAccount()) {
- return this.video.accountAvatarUrl
- }
-
- return this.video.videoChannelAvatarUrl
- }
-
loadActions () {
if (this.displayVideoActions) this.showActions = true