diff options
Diffstat (limited to 'client/src/standalone/videos/embed.ts')
-rw-r--r-- | client/src/standalone/videos/embed.ts | 23 |
1 files changed, 9 insertions, 14 deletions
diff --git a/client/src/standalone/videos/embed.ts b/client/src/standalone/videos/embed.ts index 5bf38a04c..def607916 100644 --- a/client/src/standalone/videos/embed.ts +++ b/client/src/standalone/videos/embed.ts | |||
@@ -1,24 +1,19 @@ | |||
1 | import './embed.scss' | 1 | import './embed.scss' |
2 | 2 | import videojs from 'video.js' | |
3 | import { objectToUrlEncoded, peertubeLocalStorage, PureAuthUser } from '@root-helpers/index' | ||
3 | import { | 4 | import { |
4 | peertubeTranslate, | 5 | peertubeTranslate, |
5 | ResultList, | 6 | ResultList, |
6 | ServerConfig, | 7 | ServerConfig, |
8 | UserRefreshToken, | ||
9 | VideoCaption, | ||
7 | VideoDetails, | 10 | VideoDetails, |
8 | UserRefreshToken | 11 | VideoStreamingPlaylistType |
9 | } from '../../../../shared' | 12 | } from '../../../../shared/models' |
10 | import { VideoCaption } from '../../../../shared/models/videos/caption/video-caption.model' | 13 | import { P2PMediaLoaderOptions, PeertubePlayerManagerOptions, PlayerMode } from '../../assets/player/peertube-player-manager' |
11 | import { | ||
12 | P2PMediaLoaderOptions, | ||
13 | PeertubePlayerManagerOptions, | ||
14 | PlayerMode | ||
15 | } from '../../assets/player/peertube-player-manager' | ||
16 | import { VideoStreamingPlaylistType } from '../../../../shared/models/videos/video-streaming-playlist.type' | ||
17 | import { PeerTubeEmbedApi } from './embed-api' | ||
18 | import { TranslationsManager } from '../../assets/player/translations-manager' | ||
19 | import videojs from 'video.js' | ||
20 | import { VideoJSCaption } from '../../assets/player/peertube-videojs-typings' | 14 | import { VideoJSCaption } from '../../assets/player/peertube-videojs-typings' |
21 | import { PureAuthUser, objectToUrlEncoded, peertubeLocalStorage } from '@root-helpers/index' | 15 | import { TranslationsManager } from '../../assets/player/translations-manager' |
16 | import { PeerTubeEmbedApi } from './embed-api' | ||
22 | 17 | ||
23 | type Translations = { [ id: string ]: string } | 18 | type Translations = { [ id: string ]: string } |
24 | 19 | ||