diff options
author | Chocobozzz <me@florianbigard.com> | 2022-03-14 14:28:20 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2022-03-14 14:36:35 +0100 |
commit | 57d6503286b114fee61b5e4725825e2490dcac29 (patch) | |
tree | 2d3d23f697b2986d7e41bb443754394296b66ec3 /client/src/standalone/videos | |
parent | 9597920ee3d4ac99803e7107983ddf98a9dfb3c4 (diff) | |
download | PeerTube-57d6503286b114fee61b5e4725825e2490dcac29.tar.gz PeerTube-57d6503286b114fee61b5e4725825e2490dcac29.tar.zst PeerTube-57d6503286b114fee61b5e4725825e2490dcac29.zip |
Reorganize player files
Diffstat (limited to 'client/src/standalone/videos')
-rw-r--r-- | client/src/standalone/videos/embed.ts | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/client/src/standalone/videos/embed.ts b/client/src/standalone/videos/embed.ts index 9e4d87911..55c26ec3b 100644 --- a/client/src/standalone/videos/embed.ts +++ b/client/src/standalone/videos/embed.ts | |||
@@ -1,6 +1,6 @@ | |||
1 | import './embed.scss' | 1 | import './embed.scss' |
2 | import '../../assets/player/dock/peertube-dock-component' | 2 | import '../../assets/player/shared/dock/peertube-dock-component' |
3 | import '../../assets/player/dock/peertube-dock-plugin' | 3 | import '../../assets/player/shared/dock/peertube-dock-plugin' |
4 | import videojs from 'video.js' | 4 | import videojs from 'video.js' |
5 | import { peertubeTranslate } from '../../../../shared/core-utils/i18n' | 5 | import { peertubeTranslate } from '../../../../shared/core-utils/i18n' |
6 | import { | 6 | import { |
@@ -17,15 +17,14 @@ import { | |||
17 | VideoPlaylistElement, | 17 | VideoPlaylistElement, |
18 | VideoStreamingPlaylistType | 18 | VideoStreamingPlaylistType |
19 | } from '../../../../shared/models' | 19 | } from '../../../../shared/models' |
20 | import { P2PMediaLoaderOptions, PeertubePlayerManagerOptions, PlayerMode } from '../../assets/player' | 20 | import { P2PMediaLoaderOptions, PeertubePlayerManagerOptions, PlayerMode, VideoJSCaption } from '../../assets/player' |
21 | import { VideoJSCaption } from '../../assets/player/peertube-videojs-typings' | ||
22 | import { TranslationsManager } from '../../assets/player/translations-manager' | 21 | import { TranslationsManager } from '../../assets/player/translations-manager' |
23 | import { isP2PEnabled } from '../../assets/player/utils' | ||
24 | import { getBoolOrDefault } from '../../root-helpers/local-storage-utils' | 22 | import { getBoolOrDefault } from '../../root-helpers/local-storage-utils' |
25 | import { peertubeLocalStorage } from '../../root-helpers/peertube-web-storage' | 23 | import { peertubeLocalStorage } from '../../root-helpers/peertube-web-storage' |
26 | import { PluginsManager } from '../../root-helpers/plugins-manager' | 24 | import { PluginsManager } from '../../root-helpers/plugins-manager' |
27 | import { UserLocalStorageKeys, UserTokens } from '../../root-helpers/users' | 25 | import { UserLocalStorageKeys, UserTokens } from '../../root-helpers/users' |
28 | import { objectToUrlEncoded } from '../../root-helpers/utils' | 26 | import { objectToUrlEncoded } from '../../root-helpers/utils' |
27 | import { isP2PEnabled } from '../../root-helpers/video' | ||
29 | import { RegisterClientHelpers } from '../../types/register-client-option.model' | 28 | import { RegisterClientHelpers } from '../../types/register-client-option.model' |
30 | import { PeerTubeEmbedApi } from './embed-api' | 29 | import { PeerTubeEmbedApi } from './embed-api' |
31 | 30 | ||