import { Observable } from 'rxjs/Observable'
import { Subscription } from 'rxjs/Subscription'
import * as videojs from 'video.js'
+import 'videojs-hotkeys'
import { UserVideoRateType, VideoRateType } from '../../../../../shared'
import '../../../assets/player/peertube-videojs-plugin'
import { AuthService, ConfirmService } from '../../core'
@ViewChild('videoShareModal') videoShareModal: VideoShareComponent
@ViewChild('videoReportModal') videoReportModal: VideoReportComponent
- otherVideos: Video[] = []
otherVideosDisplayed: Video[] = []
error = false
videoHTMLDescription = ''
likesBarTooltipText = ''
+ private otherVideos: Video[] = []
private paramsSub: Subscription
constructor (
peertube: {
videoFiles: this.video.files,
playerElement: this.playerElement,
- autoplay: this.isAutoplay(),
peerTubeLink: false
- }
+ },
+ hotkeys: {}
}
}