diff options
Diffstat (limited to 'client/src/assets/player/videojs-components/peertube-link-button.ts')
-rw-r--r-- | client/src/assets/player/videojs-components/peertube-link-button.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/client/src/assets/player/videojs-components/peertube-link-button.ts b/client/src/assets/player/videojs-components/peertube-link-button.ts index 0db9762a5..4151758d4 100644 --- a/client/src/assets/player/videojs-components/peertube-link-button.ts +++ b/client/src/assets/player/videojs-components/peertube-link-button.ts | |||
@@ -1,10 +1,10 @@ | |||
1 | import { buildVideoLink } from '../utils' | 1 | import { buildVideoLink } from '../utils' |
2 | import videojs, { VideoJsPlayer } from 'video.js' | 2 | import videojs from 'video.js/dist/alt/video.core.js' |
3 | 3 | ||
4 | const Button = videojs.getComponent('Button') | 4 | const Button = videojs.getComponent('Button') |
5 | class PeerTubeLinkButton extends Button { | 5 | class PeerTubeLinkButton extends Button { |
6 | 6 | ||
7 | constructor (player: VideoJsPlayer, options?: videojs.ComponentOptions) { | 7 | constructor (player: videojs.Player, options?: videojs.ComponentOptions) { |
8 | super(player, options) | 8 | super(player, options) |
9 | } | 9 | } |
10 | 10 | ||