X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=client%2Fsrc%2Fassets%2Fplayer%2Fpeertube-plugin.ts;h=5085f7f86b758832ea9b19e371cceb0ebf055b77;hb=610d0be13b3d01f653ef269271dd667a57c85ef2;hp=19d1046769281f0738f084e9d0563b3574c41850;hpb=7cd1b12c19d0589d1d692ed0571ca0800f028aea;p=github%2FChocobozzz%2FPeerTube.git diff --git a/client/src/assets/player/peertube-plugin.ts b/client/src/assets/player/peertube-plugin.ts index 19d104676..5085f7f86 100644 --- a/client/src/assets/player/peertube-plugin.ts +++ b/client/src/assets/player/peertube-plugin.ts @@ -1,4 +1,4 @@ -import videojs, { VideoJsPlayer } from 'video.js' +import videojs from 'video.js' import './videojs-components/settings-menu-button' import { PeerTubePluginOptions, @@ -36,7 +36,7 @@ class PeerTubePlugin extends Plugin { private mouseInControlBar = false private readonly savedInactivityTimeout: number - constructor (player: VideoJsPlayer, options?: PeerTubePluginOptions) { + constructor (player: videojs.Player, options?: PeerTubePluginOptions) { super(player) this.videoViewUrl = options.videoViewUrl