import { Video } from '../../shared/video/video.model'
import { VideoService } from '../../shared/video/video.service'
import { MarkdownService } from '../shared'
-import { VideoDownloadComponent } from './video-download.component'
-import { VideoReportComponent } from './video-report.component'
-import { VideoShareComponent } from './video-share.component'
+import { VideoDownloadComponent } from './modal/video-download.component'
+import { VideoReportComponent } from './modal/video-report.component'
+import { VideoShareComponent } from './modal/video-share.component'
@Component({
selector: 'my-video-watch',
return this.authService.isLoggedIn()
}
+ isVideoUpdatable () {
+ return this.video.isUpdatableBy(this.authService.getUser())
+ }
+
isVideoBlacklistable () {
return this.video.isBlackistableBy(this.user)
}