diff options
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 |