aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/videos
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2018-01-09 15:40:46 +0100
committerChocobozzz <me@florianbigard.com>2018-01-09 15:40:46 +0100
commitd77014491b339b4dcfab95c05507dd5f579a6d7d (patch)
treed239ecf48f5ad9d3dcfdaf1a237fe974273e2409 /client/src/app/videos
parenta22bfc3ebc9f80088035774c6cfca4bd5707acd3 (diff)
downloadPeerTube-d77014491b339b4dcfab95c05507dd5f579a6d7d.tar.gz
PeerTube-d77014491b339b4dcfab95c05507dd5f579a6d7d.tar.zst
PeerTube-d77014491b339b4dcfab95c05507dd5f579a6d7d.zip
Add hotkeys in video player
Double click for full screen
Diffstat (limited to 'client/src/app/videos')
-rw-r--r--client/src/app/videos/+video-watch/video-watch.component.ts4
1 files changed, 3 insertions, 1 deletions
diff --git a/client/src/app/videos/+video-watch/video-watch.component.ts b/client/src/app/videos/+video-watch/video-watch.component.ts
index 6f5fe0b97..7929c1fa1 100644
--- a/client/src/app/videos/+video-watch/video-watch.component.ts
+++ b/client/src/app/videos/+video-watch/video-watch.component.ts
@@ -5,6 +5,7 @@ import { NotificationsService } from 'angular2-notifications'
5import { Observable } from 'rxjs/Observable' 5import { Observable } from 'rxjs/Observable'
6import { Subscription } from 'rxjs/Subscription' 6import { Subscription } from 'rxjs/Subscription'
7import * as videojs from 'video.js' 7import * as videojs from 'video.js'
8import 'videojs-hotkeys'
8import { UserVideoRateType, VideoRateType } from '../../../../../shared' 9import { UserVideoRateType, VideoRateType } from '../../../../../shared'
9import '../../../assets/player/peertube-videojs-plugin' 10import '../../../assets/player/peertube-videojs-plugin'
10import { AuthService, ConfirmService } from '../../core' 11import { AuthService, ConfirmService } from '../../core'
@@ -327,7 +328,8 @@ export class VideoWatchComponent implements OnInit, OnDestroy {
327 videoFiles: this.video.files, 328 videoFiles: this.video.files,
328 playerElement: this.playerElement, 329 playerElement: this.playerElement,
329 peerTubeLink: false 330 peerTubeLink: false
330 } 331 },
332 hotkeys: {}
331 } 333 }
332 } 334 }
333 335