diff options
Diffstat (limited to 'client/src/assets/player/peertube-player.ts')
-rw-r--r-- | client/src/assets/player/peertube-player.ts | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/client/src/assets/player/peertube-player.ts b/client/src/assets/player/peertube-player.ts index 69ca1a566..4da681a08 100644 --- a/client/src/assets/player/peertube-player.ts +++ b/client/src/assets/player/peertube-player.ts | |||
@@ -30,7 +30,7 @@ import { PluginsManager } from '@root-helpers/plugins-manager' | |||
30 | import { copyToClipboard } from '@root-helpers/utils' | 30 | import { copyToClipboard } from '@root-helpers/utils' |
31 | import { buildVideoOrPlaylistEmbed } from '@root-helpers/video' | 31 | import { buildVideoOrPlaylistEmbed } from '@root-helpers/video' |
32 | import { isMobile } from '@root-helpers/web-browser' | 32 | import { isMobile } from '@root-helpers/web-browser' |
33 | import { buildVideoLink, decorateVideoLink, isDefaultLocale, pick } from '@shared/core-utils' | 33 | import { buildVideoLink, decorateVideoLink, isDefaultLocale, pick } from '@peertube/peertube-core-utils' |
34 | import { saveAverageBandwidth } from './peertube-player-local-storage' | 34 | import { saveAverageBandwidth } from './peertube-player-local-storage' |
35 | import { ControlBarOptionsBuilder, HLSOptionsBuilder, WebVideoOptionsBuilder } from './shared/player-options-builder' | 35 | import { ControlBarOptionsBuilder, HLSOptionsBuilder, WebVideoOptionsBuilder } from './shared/player-options-builder' |
36 | import { TranslationsManager } from './translations-manager' | 36 | import { TranslationsManager } from './translations-manager' |
@@ -51,6 +51,8 @@ if (PlayProgressBar.prototype.options_.children.includes('timeTooltip') !== true | |||
51 | PlayProgressBar.prototype.options_.children.push('timeTooltip') | 51 | PlayProgressBar.prototype.options_.children.push('timeTooltip') |
52 | } | 52 | } |
53 | 53 | ||
54 | export { videojs } | ||
55 | |||
54 | export class PeerTubePlayer { | 56 | export class PeerTubePlayer { |
55 | private pluginsManager: PluginsManager | 57 | private pluginsManager: PluginsManager |
56 | 58 | ||
@@ -516,9 +518,3 @@ export class PeerTubePlayer { | |||
516 | return { content } | 518 | return { content } |
517 | } | 519 | } |
518 | } | 520 | } |
519 | |||
520 | // ############################################################################ | ||
521 | |||
522 | export { | ||
523 | videojs | ||
524 | } | ||