Reorganize videojs components
This commit is contained in:
parent
637a10afb5
commit
9af2accee6
|
@ -6,18 +6,18 @@ import './stats/stats-plugin'
|
||||||
import './bezels/bezels-plugin'
|
import './bezels/bezels-plugin'
|
||||||
import './peertube-plugin'
|
import './peertube-plugin'
|
||||||
import './peertube-resolutions-plugin'
|
import './peertube-resolutions-plugin'
|
||||||
import './videojs-components/next-previous-video-button'
|
import './control-bar/next-previous-video-button'
|
||||||
import './videojs-components/p2p-info-button'
|
import './control-bar/p2p-info-button'
|
||||||
import './videojs-components/peertube-link-button'
|
import './control-bar/peertube-link-button'
|
||||||
import './videojs-components/peertube-load-progress-bar'
|
import './control-bar/peertube-load-progress-bar'
|
||||||
import './videojs-components/resolution-menu-button'
|
import './control-bar/resolution-menu-button'
|
||||||
import './videojs-components/resolution-menu-item'
|
import './control-bar/resolution-menu-item'
|
||||||
import './videojs-components/settings-dialog'
|
import './control-bar/settings-dialog'
|
||||||
import './videojs-components/settings-menu-button'
|
import './control-bar/settings-menu-button'
|
||||||
import './videojs-components/settings-menu-item'
|
import './control-bar/settings-menu-item'
|
||||||
import './videojs-components/settings-panel'
|
import './control-bar/settings-panel'
|
||||||
import './videojs-components/settings-panel-child'
|
import './control-bar/settings-panel-child'
|
||||||
import './videojs-components/theater-button'
|
import './control-bar/theater-button'
|
||||||
import './playlist/playlist-plugin'
|
import './playlist/playlist-plugin'
|
||||||
import './mobile/peertube-mobile-plugin'
|
import './mobile/peertube-mobile-plugin'
|
||||||
import './mobile/peertube-mobile-buttons'
|
import './mobile/peertube-mobile-buttons'
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
import debug from 'debug'
|
||||||
import videojs from 'video.js'
|
import videojs from 'video.js'
|
||||||
import { timeToInt } from '@shared/core-utils'
|
import { timeToInt } from '@shared/core-utils'
|
||||||
import {
|
import {
|
||||||
|
@ -10,9 +11,8 @@ import {
|
||||||
saveVolumeInStore
|
saveVolumeInStore
|
||||||
} from './peertube-player-local-storage'
|
} from './peertube-player-local-storage'
|
||||||
import { PeerTubePluginOptions, UserWatching, VideoJSCaption } from './peertube-videojs-typings'
|
import { PeerTubePluginOptions, UserWatching, VideoJSCaption } from './peertube-videojs-typings'
|
||||||
|
import { SettingsButton } from './settings/settings-menu-button'
|
||||||
import { isMobile } from './utils'
|
import { isMobile } from './utils'
|
||||||
import { SettingsButton } from './videojs-components/settings-menu-button'
|
|
||||||
import debug from 'debug'
|
|
||||||
|
|
||||||
const logger = debug('peertube:player:peertube')
|
const logger = debug('peertube:player:peertube')
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue