From 583eb04b541175035d6d452ca626a96ebf2b7437 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Fri, 26 Jun 2020 08:37:26 +0200 Subject: Upgrade to angular 10 --- client/src/standalone/videos/embed.ts | 23 +++++++++-------------- 1 file changed, 9 insertions(+), 14 deletions(-) (limited to 'client/src/standalone/videos/embed.ts') 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 @@ import './embed.scss' - +import videojs from 'video.js' +import { objectToUrlEncoded, peertubeLocalStorage, PureAuthUser } from '@root-helpers/index' import { peertubeTranslate, ResultList, ServerConfig, + UserRefreshToken, + VideoCaption, VideoDetails, - UserRefreshToken -} from '../../../../shared' -import { VideoCaption } from '../../../../shared/models/videos/caption/video-caption.model' -import { - P2PMediaLoaderOptions, - PeertubePlayerManagerOptions, - PlayerMode -} from '../../assets/player/peertube-player-manager' -import { VideoStreamingPlaylistType } from '../../../../shared/models/videos/video-streaming-playlist.type' -import { PeerTubeEmbedApi } from './embed-api' -import { TranslationsManager } from '../../assets/player/translations-manager' -import videojs from 'video.js' + VideoStreamingPlaylistType +} from '../../../../shared/models' +import { P2PMediaLoaderOptions, PeertubePlayerManagerOptions, PlayerMode } from '../../assets/player/peertube-player-manager' import { VideoJSCaption } from '../../assets/player/peertube-videojs-typings' -import { PureAuthUser, objectToUrlEncoded, peertubeLocalStorage } from '@root-helpers/index' +import { TranslationsManager } from '../../assets/player/translations-manager' +import { PeerTubeEmbedApi } from './embed-api' type Translations = { [ id: string ]: string } -- cgit v1.2.3