aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/standalone
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2020-06-26 08:37:26 +0200
committerChocobozzz <chocobozzz@cpy.re>2020-08-07 08:28:14 +0200
commit583eb04b541175035d6d452ca626a96ebf2b7437 (patch)
tree114ba0a7004b4b2a7fc77444ef5fcb73414c6e93 /client/src/standalone
parent4504f09f6e85f09b0489debb547a17209d7176ea (diff)
downloadPeerTube-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.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