diff options
author | Chocobozzz <me@florianbigard.com> | 2021-10-26 10:52:14 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2021-10-26 11:24:05 +0200 |
commit | 950b3ce7f0f8356192b7db7bbe4d507b6d92bf96 (patch) | |
tree | 9e9d70a9f3e68d27ae9b6fa65e7c453715b5f70d /client/src | |
parent | d91a0341a7374e2739a29d8b4766bd98f7a98efd (diff) | |
download | PeerTube-950b3ce7f0f8356192b7db7bbe4d507b6d92bf96.tar.gz PeerTube-950b3ce7f0f8356192b7db7bbe4d507b6d92bf96.tar.zst PeerTube-950b3ce7f0f8356192b7db7bbe4d507b6d92bf96.zip |
Migrate to @peertube/videojs-contextmenu
To fix a bug with latest videojs
Diffstat (limited to 'client/src')
-rw-r--r-- | client/src/assets/player/peertube-player-manager.ts | 2 | ||||
-rw-r--r-- | client/src/sass/player/context-menu.scss | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/client/src/assets/player/peertube-player-manager.ts b/client/src/assets/player/peertube-player-manager.ts index b63d693d4..3e6398f50 100644 --- a/client/src/assets/player/peertube-player-manager.ts +++ b/client/src/assets/player/peertube-player-manager.ts | |||
@@ -1,6 +1,6 @@ | |||
1 | import 'videojs-hotkeys/videojs.hotkeys' | 1 | import 'videojs-hotkeys/videojs.hotkeys' |
2 | import 'videojs-dock' | 2 | import 'videojs-dock' |
3 | import 'videojs-contextmenu-pt' | 3 | import '@peertube/videojs-contextmenu' |
4 | import './upnext/end-card' | 4 | import './upnext/end-card' |
5 | import './upnext/upnext-plugin' | 5 | import './upnext/upnext-plugin' |
6 | import './stats/stats-card' | 6 | import './stats/stats-card' |
diff --git a/client/src/sass/player/context-menu.scss b/client/src/sass/player/context-menu.scss index c183d24f4..fef0d30c0 100644 --- a/client/src/sass/player/context-menu.scss +++ b/client/src/sass/player/context-menu.scss | |||
@@ -4,7 +4,7 @@ | |||
4 | 4 | ||
5 | $context-menu-width: 350px; | 5 | $context-menu-width: 350px; |
6 | 6 | ||
7 | /* Sass for videojs-contextmenu-ui */ | 7 | /* Sass for @peertube/videojs-contextmenu */ |
8 | 8 | ||
9 | .video-js .vjs-contextmenu-ui-menu { | 9 | .video-js .vjs-contextmenu-ui-menu { |
10 | position: absolute; | 10 | position: absolute; |