diff options
author | Chocobozzz <me@florianbigard.com> | 2020-06-26 08:37:26 +0200 |
---|---|---|
committer | Chocobozzz <chocobozzz@cpy.re> | 2020-08-07 08:28:14 +0200 |
commit | 583eb04b541175035d6d452ca626a96ebf2b7437 (patch) | |
tree | 114ba0a7004b4b2a7fc77444ef5fcb73414c6e93 /client/src/standalone | |
parent | 4504f09f6e85f09b0489debb547a17209d7176ea (diff) | |
download | PeerTube-583eb04b541175035d6d452ca626a96ebf2b7437.tar.gz PeerTube-583eb04b541175035d6d452ca626a96ebf2b7437.tar.zst PeerTube-583eb04b541175035d6d452ca626a96ebf2b7437.zip |
Upgrade to angular 10
Diffstat (limited to 'client/src/standalone')
-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 | ||