aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2021-10-26 10:52:14 +0200
committerChocobozzz <me@florianbigard.com>2021-10-26 11:24:05 +0200
commit950b3ce7f0f8356192b7db7bbe4d507b6d92bf96 (patch)
tree9e9d70a9f3e68d27ae9b6fa65e7c453715b5f70d /client/src
parentd91a0341a7374e2739a29d8b4766bd98f7a98efd (diff)
downloadPeerTube-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.ts2
-rw-r--r--client/src/sass/player/context-menu.scss2
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 @@
1import 'videojs-hotkeys/videojs.hotkeys' 1import 'videojs-hotkeys/videojs.hotkeys'
2import 'videojs-dock' 2import 'videojs-dock'
3import 'videojs-contextmenu-pt' 3import '@peertube/videojs-contextmenu'
4import './upnext/end-card' 4import './upnext/end-card'
5import './upnext/upnext-plugin' 5import './upnext/upnext-plugin'
6import './stats/stats-card' 6import './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;