From 950b3ce7f0f8356192b7db7bbe4d507b6d92bf96 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Tue, 26 Oct 2021 10:52:14 +0200 Subject: Migrate to @peertube/videojs-contextmenu To fix a bug with latest videojs --- client/src/assets/player/peertube-player-manager.ts | 2 +- client/src/sass/player/context-menu.scss | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'client/src') 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 @@ import 'videojs-hotkeys/videojs.hotkeys' import 'videojs-dock' -import 'videojs-contextmenu-pt' +import '@peertube/videojs-contextmenu' import './upnext/end-card' import './upnext/upnext-plugin' 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 @@ $context-menu-width: 350px; -/* Sass for videojs-contextmenu-ui */ +/* Sass for @peertube/videojs-contextmenu */ .video-js .vjs-contextmenu-ui-menu { position: absolute; -- cgit v1.2.3