Merge pull request #6355 from lbryio/fix-video-js-imports
fix video.js import statements
This commit is contained in:
commit
b5b0459aff
5 changed files with 5 additions and 5 deletions
|
@ -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';
|
||||||
|
|
|
@ -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');
|
||||||
|
|
|
@ -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';
|
||||||
|
|
||||||
|
|
|
@ -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';
|
||||||
|
|
||||||
|
|
|
@ -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';
|
||||||
|
|
Loading…
Reference in a new issue