- playbackRates: [ 0.5, 1, 1.5, 2 ],
- plugins: {
- peertube: {
- videoFiles: this.video.files,
- playerElement: this.playerElement,
- videoViewUrl: this.videoService.getVideoViewUrl(this.video.uuid),
- videoDuration: this.video.duration
- },
- hotkeys: {
- enableVolumeScroll: false
- }
- },
- controlBar: {
- children: [
- 'playToggle',
- 'currentTimeDisplay',
- 'timeDivider',
- 'durationDisplay',
- 'liveDisplay',
-
- 'flexibleWidthSpacer',
- 'progressControl',
-
- 'webTorrentButton',
-
- 'playbackRateMenuButton',
-
- 'muteToggle',
- 'volumeControl',
-
- 'resolutionMenuButton',
-
- 'fullscreenToggle'
- ]
- }
- }
+ inactivityTimeout: 4000,
+ videoFiles: this.video.files,
+ playerElement: this.playerElement,
+ videoViewUrl: this.videoService.getVideoViewUrl(this.video.uuid),
+ videoDuration: this.video.duration,
+ enableHotkeys: true,
+ peertubeLink: false
+ })