1 import { Component, Input } from '@angular/core'
2 import { VideoDetails } from '@app/shared/shared-main'
5 selector: 'my-video-attributes',
6 templateUrl: './video-attributes.component.html',
7 styleUrls: [ './video-attributes.component.scss' ]
9 export class VideoAttributesComponent {
10 @Input() video: VideoDetails
13 return this.video.channel.host
17 if (!this.video || Array.isArray(this.video.tags) === false) return []
19 return this.video.tags