Merge pull request #6355 from lbryio/fix-video-js-imports

fix video.js import statements
This commit is contained in:
Dispatch 2021-06-30 20:26:27 -07:00 committed by GitHub
commit b5b0459aff
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 5 additions and 5 deletions

View file

@ -1,4 +1,4 @@
import videojs from 'video.js/dist/video.min.js'; import videojs from 'video.js';
import './touchOverlay.js'; import './touchOverlay.js';
import window from 'global/window'; import window from 'global/window';
import './plugin.scss'; import './plugin.scss';

View file

@ -3,7 +3,7 @@
* Touch UI component * Touch UI component
*/ */
import videojs from 'video.js/dist/video.min.js'; import videojs from 'video.js';
import window from 'global/window'; import window from 'global/window';
const Component = videojs.getComponent('Component'); const Component = videojs.getComponent('Component');

View file

@ -1,4 +1,4 @@
import videojs from 'video.js/dist/video.min.js'; import videojs from 'video.js';
import window from 'global/window'; import window from 'global/window';
const VERSION = '2.1.4'; const VERSION = '2.1.4';

View file

@ -1,5 +1,5 @@
// Created by xander on 6/21/2021 // 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'; import { v4 as uuidV4 } from 'uuid';
const VERSION = '0.0.1'; const VERSION = '0.0.1';

View file

@ -4,7 +4,7 @@ import { SIMPLE_SITE } from 'config';
import Button from 'component/button'; import Button from 'component/button';
import * as ICONS from 'constants/icons'; import * as ICONS from 'constants/icons';
import classnames from 'classnames'; 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 'video.js/dist/alt/video-js-cdn.min.css'; --> 'scss/third-party.scss'
import eventTracking from 'videojs-event-tracking'; import eventTracking from 'videojs-event-tracking';
import * as OVERLAY from './overlays'; import * as OVERLAY from './overlays';