From 294f80f21e8a77d25f6fb5f0f26887fb4618ee2e Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Sun, 11 Jun 2017 15:25:36 +0200 Subject: Bundle webtorrent with webpack. Closes https://github.com/Chocobozzz/PeerTube/issues/50 --- client/src/app/videos/video-watch/video-watch.component.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'client/src/app/videos/video-watch/video-watch.component.ts') diff --git a/client/src/app/videos/video-watch/video-watch.component.ts b/client/src/app/videos/video-watch/video-watch.component.ts index 32c847785..bcfebf2fd 100644 --- a/client/src/app/videos/video-watch/video-watch.component.ts +++ b/client/src/app/videos/video-watch/video-watch.component.ts @@ -21,15 +21,15 @@ import { WebTorrentService } from './webtorrent.service'; }) export class VideoWatchComponent implements OnInit, OnDestroy { - private static LOADTIME_TOO_LONG: number = 20000; + private static LOADTIME_TOO_LONG = 20000; @ViewChild('videoMagnetModal') videoMagnetModal: VideoMagnetComponent; @ViewChild('videoShareModal') videoShareModal: VideoShareComponent; @ViewChild('videoReportModal') videoReportModal: VideoReportComponent; downloadSpeed: number; - error: boolean = false; - loading: boolean = false; + error = false; + loading = false; numPeers: number; player: videojs.Player; playerElement: Element; -- cgit v1.2.3