diff --git a/ui/component/viewers/videoViewer/internal/plugins/videojs-mobile-ui/plugin.js b/ui/component/viewers/videoViewer/internal/plugins/videojs-mobile-ui/plugin.js index d0039d315..8bb9e0d23 100644 --- a/ui/component/viewers/videoViewer/internal/plugins/videojs-mobile-ui/plugin.js +++ b/ui/component/viewers/videoViewer/internal/plugins/videojs-mobile-ui/plugin.js @@ -1,4 +1,4 @@ -import videojs from 'video.js/dist/video.min.js'; +import videojs from 'video.js'; import './touchOverlay.js'; import window from 'global/window'; import './plugin.scss'; diff --git a/ui/component/viewers/videoViewer/internal/plugins/videojs-mobile-ui/touchOverlay.js b/ui/component/viewers/videoViewer/internal/plugins/videojs-mobile-ui/touchOverlay.js index 880c6a7aa..00fe9271d 100644 --- a/ui/component/viewers/videoViewer/internal/plugins/videojs-mobile-ui/touchOverlay.js +++ b/ui/component/viewers/videoViewer/internal/plugins/videojs-mobile-ui/touchOverlay.js @@ -3,7 +3,7 @@ * Touch UI component */ -import videojs from 'video.js/dist/video.min.js'; +import videojs from 'video.js'; import window from 'global/window'; const Component = videojs.getComponent('Component'); diff --git a/ui/component/viewers/videoViewer/internal/plugins/videojs-overlay/plugin.js b/ui/component/viewers/videoViewer/internal/plugins/videojs-overlay/plugin.js index dbf876c88..682c8ea02 100644 --- a/ui/component/viewers/videoViewer/internal/plugins/videojs-overlay/plugin.js +++ b/ui/component/viewers/videoViewer/internal/plugins/videojs-overlay/plugin.js @@ -1,4 +1,4 @@ -import videojs from 'video.js/dist/video.min.js'; +import videojs from 'video.js'; import window from 'global/window'; const VERSION = '2.1.4'; diff --git a/ui/component/viewers/videoViewer/internal/plugins/videojs-recsys/plugin.js b/ui/component/viewers/videoViewer/internal/plugins/videojs-recsys/plugin.js index 6dca8820e..43858f814 100644 --- a/ui/component/viewers/videoViewer/internal/plugins/videojs-recsys/plugin.js +++ b/ui/component/viewers/videoViewer/internal/plugins/videojs-recsys/plugin.js @@ -1,5 +1,5 @@ // Created by xander on 6/21/2021 -import videojs from 'video.js/dist/video.min.js'; +import videojs from 'video.js'; import { v4 as uuidV4 } from 'uuid'; const VERSION = '0.0.1'; diff --git a/ui/component/viewers/videoViewer/internal/videojs.jsx b/ui/component/viewers/videoViewer/internal/videojs.jsx index 7a1a3110f..2f2a57d67 100644 --- a/ui/component/viewers/videoViewer/internal/videojs.jsx +++ b/ui/component/viewers/videoViewer/internal/videojs.jsx @@ -4,7 +4,7 @@ import { SIMPLE_SITE } from 'config'; import Button from 'component/button'; import * as ICONS from 'constants/icons'; import classnames from 'classnames'; -import videojs from 'video.js/dist/video.min.js'; +import videojs from 'video.js'; // import 'video.js/dist/alt/video-js-cdn.min.css'; --> 'scss/third-party.scss' import eventTracking from 'videojs-event-tracking'; import * as OVERLAY from './overlays';