diff options
author | Chocobozzz <me@florianbigard.com> | 2020-04-17 11:20:12 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2020-04-17 14:12:43 +0200 |
commit | 7e37e111116e41530749b88327bc601cb39ade03 (patch) | |
tree | a141a84b6999029084629d45a3d5addbfa34e603 /client/src/assets/player/peertube-plugin.ts | |
parent | bb3933ef370c46be6090e4e522c6e3f5b7144f4c (diff) | |
download | PeerTube-7e37e111116e41530749b88327bc601cb39ade03.tar.gz PeerTube-7e37e111116e41530749b88327bc601cb39ade03.tar.zst PeerTube-7e37e111116e41530749b88327bc601cb39ade03.zip |
Fix videojs typings
Diffstat (limited to 'client/src/assets/player/peertube-plugin.ts')
-rw-r--r-- | client/src/assets/player/peertube-plugin.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/client/src/assets/player/peertube-plugin.ts b/client/src/assets/player/peertube-plugin.ts index 19d104676..afd8d678b 100644 --- a/client/src/assets/player/peertube-plugin.ts +++ b/client/src/assets/player/peertube-plugin.ts | |||
@@ -1,4 +1,4 @@ | |||
1 | import videojs, { VideoJsPlayer } from 'video.js' | 1 | import videojs from 'video.js/dist/alt/video.core' |
2 | import './videojs-components/settings-menu-button' | 2 | import './videojs-components/settings-menu-button' |
3 | import { | 3 | import { |
4 | PeerTubePluginOptions, | 4 | PeerTubePluginOptions, |
@@ -36,7 +36,7 @@ class PeerTubePlugin extends Plugin { | |||
36 | private mouseInControlBar = false | 36 | private mouseInControlBar = false |
37 | private readonly savedInactivityTimeout: number | 37 | private readonly savedInactivityTimeout: number |
38 | 38 | ||
39 | constructor (player: VideoJsPlayer, options?: PeerTubePluginOptions) { | 39 | constructor (player: videojs.Player, options?: PeerTubePluginOptions) { |
40 | super(player) | 40 | super(player) |
41 | 41 | ||
42 | this.videoViewUrl = options.videoViewUrl | 42 | this.videoViewUrl = options.videoViewUrl |