otherVideosDisplayed: Video[] = []
+ syndicationItems = {}
+
player: videojs.Player
playerElement: HTMLVideoElement
userRating: UserVideoRateType = null
}
const uuid = routeParams['uuid']
- // Video did not changed
+ // Video did not change
if (this.video && this.video.uuid === uuid) return
-
+ // Video did change
this.videoService.getVideo(uuid).subscribe(
video => {
const startTime = this.route.snapshot.queryParams.start
this.onVideoFetched(video, startTime)
.catch(err => this.handleError(err))
+ this.generateSyndicationList()
},
error => {
return this.video.tags.join(', ')
}
+ generateSyndicationList () {
+ this.syndicationItems = this.videoService.getAccountFeedUrls(this.video.account.id)
+ }
+
isVideoRemovable () {
return this.video.isRemovableBy(this.authService.getUser())
}