aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/standalone
diff options
context:
space:
mode:
Diffstat (limited to 'client/src/standalone')
-rw-r--r--client/src/standalone/videos/embed.ts23
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 @@
1import './embed.scss' 1import './embed.scss'
2 2import videojs from 'video.js'
3import { objectToUrlEncoded, peertubeLocalStorage, PureAuthUser } from '@root-helpers/index'
3import { 4import {
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'
10import { VideoCaption } from '../../../../shared/models/videos/caption/video-caption.model' 13import { P2PMediaLoaderOptions, PeertubePlayerManagerOptions, PlayerMode } from '../../assets/player/peertube-player-manager'
11import {
12 P2PMediaLoaderOptions,
13 PeertubePlayerManagerOptions,
14 PlayerMode
15} from '../../assets/player/peertube-player-manager'
16import { VideoStreamingPlaylistType } from '../../../../shared/models/videos/video-streaming-playlist.type'
17import { PeerTubeEmbedApi } from './embed-api'
18import { TranslationsManager } from '../../assets/player/translations-manager'
19import videojs from 'video.js'
20import { VideoJSCaption } from '../../assets/player/peertube-videojs-typings' 14import { VideoJSCaption } from '../../assets/player/peertube-videojs-typings'
21import { PureAuthUser, objectToUrlEncoded, peertubeLocalStorage } from '@root-helpers/index' 15import { TranslationsManager } from '../../assets/player/translations-manager'
16import { PeerTubeEmbedApi } from './embed-api'
22 17
23type Translations = { [ id: string ]: string } 18type Translations = { [ id: string ]: string }
24 19