From 512decf37ee6d36d0f16bda0f9bec6bf37d132b3 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Tue, 21 Apr 2020 11:02:28 +0200 Subject: Fix videojs --- client/src/assets/player/videojs-components/next-video-button.ts | 2 +- client/src/assets/player/videojs-components/p2p-info-button.ts | 2 +- client/src/assets/player/videojs-components/peertube-link-button.ts | 2 +- .../src/assets/player/videojs-components/peertube-load-progress-bar.ts | 2 +- client/src/assets/player/videojs-components/resolution-menu-button.ts | 2 +- client/src/assets/player/videojs-components/resolution-menu-item.ts | 2 +- client/src/assets/player/videojs-components/settings-dialog.ts | 2 +- client/src/assets/player/videojs-components/settings-menu-button.ts | 2 +- client/src/assets/player/videojs-components/settings-menu-item.ts | 2 +- client/src/assets/player/videojs-components/settings-panel-child.ts | 2 +- client/src/assets/player/videojs-components/settings-panel.ts | 2 +- client/src/assets/player/videojs-components/theater-button.ts | 2 +- 12 files changed, 12 insertions(+), 12 deletions(-) (limited to 'client/src/assets/player/videojs-components') diff --git a/client/src/assets/player/videojs-components/next-video-button.ts b/client/src/assets/player/videojs-components/next-video-button.ts index c97ecdda6..22b32f06b 100644 --- a/client/src/assets/player/videojs-components/next-video-button.ts +++ b/client/src/assets/player/videojs-components/next-video-button.ts @@ -1,4 +1,4 @@ -import videojs from 'video.js/dist/alt/video.core.js' +import videojs from 'video.js' const Button = videojs.getComponent('Button') diff --git a/client/src/assets/player/videojs-components/p2p-info-button.ts b/client/src/assets/player/videojs-components/p2p-info-button.ts index e340337ed..db6806fed 100644 --- a/client/src/assets/player/videojs-components/p2p-info-button.ts +++ b/client/src/assets/player/videojs-components/p2p-info-button.ts @@ -1,5 +1,5 @@ import { PlayerNetworkInfo } from '../peertube-videojs-typings' -import videojs from 'video.js/dist/alt/video.core.js' +import videojs from 'video.js' import { bytes } from '../utils' const Button = videojs.getComponent('Button') diff --git a/client/src/assets/player/videojs-components/peertube-link-button.ts b/client/src/assets/player/videojs-components/peertube-link-button.ts index 4151758d4..63e92eb77 100644 --- a/client/src/assets/player/videojs-components/peertube-link-button.ts +++ b/client/src/assets/player/videojs-components/peertube-link-button.ts @@ -1,5 +1,5 @@ import { buildVideoLink } from '../utils' -import videojs from 'video.js/dist/alt/video.core.js' +import videojs from 'video.js' const Button = videojs.getComponent('Button') class PeerTubeLinkButton extends Button { diff --git a/client/src/assets/player/videojs-components/peertube-load-progress-bar.ts b/client/src/assets/player/videojs-components/peertube-load-progress-bar.ts index 395720c53..7869b56ce 100644 --- a/client/src/assets/player/videojs-components/peertube-load-progress-bar.ts +++ b/client/src/assets/player/videojs-components/peertube-load-progress-bar.ts @@ -1,4 +1,4 @@ -import videojs from 'video.js/dist/alt/video.core.js' +import videojs from 'video.js' const Component = videojs.getComponent('Component') diff --git a/client/src/assets/player/videojs-components/resolution-menu-button.ts b/client/src/assets/player/videojs-components/resolution-menu-button.ts index d49ca0230..98e7f56fc 100644 --- a/client/src/assets/player/videojs-components/resolution-menu-button.ts +++ b/client/src/assets/player/videojs-components/resolution-menu-button.ts @@ -1,4 +1,4 @@ -import videojs from 'video.js/dist/alt/video.core.js' +import videojs from 'video.js' import { LoadedQualityData } from '../peertube-videojs-typings' import { ResolutionMenuItem } from './resolution-menu-item' diff --git a/client/src/assets/player/videojs-components/resolution-menu-item.ts b/client/src/assets/player/videojs-components/resolution-menu-item.ts index cb0d219ad..73ad47d2b 100644 --- a/client/src/assets/player/videojs-components/resolution-menu-item.ts +++ b/client/src/assets/player/videojs-components/resolution-menu-item.ts @@ -1,4 +1,4 @@ -import videojs from 'video.js/dist/alt/video.core.js' +import videojs from 'video.js' import { AutoResolutionUpdateData, ResolutionUpdateData } from '../peertube-videojs-typings' const MenuItem = videojs.getComponent('MenuItem') diff --git a/client/src/assets/player/videojs-components/settings-dialog.ts b/client/src/assets/player/videojs-components/settings-dialog.ts index 8fd5ad96c..41911e7e8 100644 --- a/client/src/assets/player/videojs-components/settings-dialog.ts +++ b/client/src/assets/player/videojs-components/settings-dialog.ts @@ -1,4 +1,4 @@ -import videojs from 'video.js/dist/alt/video.core.js' +import videojs from 'video.js' const Component = videojs.getComponent('Component') diff --git a/client/src/assets/player/videojs-components/settings-menu-button.ts b/client/src/assets/player/videojs-components/settings-menu-button.ts index 749128bdc..011323267 100644 --- a/client/src/assets/player/videojs-components/settings-menu-button.ts +++ b/client/src/assets/player/videojs-components/settings-menu-button.ts @@ -1,7 +1,7 @@ // Thanks to Yanko Shterev: https://github.com/yshterev/videojs-settings-menu import { SettingsMenuItem } from './settings-menu-item' import { toTitleCase } from '../utils' -import videojs from 'video.js/dist/alt/video.core.js' +import videojs from 'video.js' import { SettingsDialog } from './settings-dialog' import { SettingsPanel } from './settings-panel' diff --git a/client/src/assets/player/videojs-components/settings-menu-item.ts b/client/src/assets/player/videojs-components/settings-menu-item.ts index 8d364591b..f1342f179 100644 --- a/client/src/assets/player/videojs-components/settings-menu-item.ts +++ b/client/src/assets/player/videojs-components/settings-menu-item.ts @@ -1,6 +1,6 @@ // Thanks to Yanko Shterev: https://github.com/yshterev/videojs-settings-menu import { toTitleCase } from '../utils' -import videojs from 'video.js/dist/alt/video.core.js' +import videojs from 'video.js' import { SettingsButton } from './settings-menu-button' import { SettingsDialog } from './settings-dialog' import { SettingsPanel } from './settings-panel' diff --git a/client/src/assets/player/videojs-components/settings-panel-child.ts b/client/src/assets/player/videojs-components/settings-panel-child.ts index 6dee6d7df..d1582412c 100644 --- a/client/src/assets/player/videojs-components/settings-panel-child.ts +++ b/client/src/assets/player/videojs-components/settings-panel-child.ts @@ -1,4 +1,4 @@ -import videojs from 'video.js/dist/alt/video.core.js' +import videojs from 'video.js' const Component = videojs.getComponent('Component') diff --git a/client/src/assets/player/videojs-components/settings-panel.ts b/client/src/assets/player/videojs-components/settings-panel.ts index 833ee2f21..1ad8bb1fc 100644 --- a/client/src/assets/player/videojs-components/settings-panel.ts +++ b/client/src/assets/player/videojs-components/settings-panel.ts @@ -1,4 +1,4 @@ -import videojs from 'video.js/dist/alt/video.core.js' +import videojs from 'video.js' const Component = videojs.getComponent('Component') diff --git a/client/src/assets/player/videojs-components/theater-button.ts b/client/src/assets/player/videojs-components/theater-button.ts index 41875af71..f862ee224 100644 --- a/client/src/assets/player/videojs-components/theater-button.ts +++ b/client/src/assets/player/videojs-components/theater-button.ts @@ -1,4 +1,4 @@ -import videojs from 'video.js/dist/alt/video.core.js' +import videojs from 'video.js' import { saveTheaterInStore, getStoredTheater } from '../peertube-player-local-storage' const Button = videojs.getComponent('Button') -- cgit v1.2.3