aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/videos/+video-watch
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2019-11-21 17:01:24 +0100
committerChocobozzz <me@florianbigard.com>2019-11-25 10:59:46 +0100
commit5a71acd2547c098657ae6e0e31e0862094585088 (patch)
treeb7d9792bc99f01ef4d1f4c9dc7822a50a48f7d5f /client/src/app/videos/+video-watch
parentd441f2ed78c004e62766394b2437f6089f2b4ca5 (diff)
downloadPeerTube-5a71acd2547c098657ae6e0e31e0862094585088.tar.gz
PeerTube-5a71acd2547c098657ae6e0e31e0862094585088.tar.zst
PeerTube-5a71acd2547c098657ae6e0e31e0862094585088.zip
Disable webtorrent support in client
Diffstat (limited to 'client/src/app/videos/+video-watch')
-rw-r--r--client/src/app/videos/+video-watch/video-watch.component.html4
-rw-r--r--client/src/app/videos/+video-watch/video-watch.component.ts2
2 files changed, 3 insertions, 3 deletions
diff --git a/client/src/app/videos/+video-watch/video-watch.component.html b/client/src/app/videos/+video-watch/video-watch.component.html
index ac474b427..5b98a7bd4 100644
--- a/client/src/app/videos/+video-watch/video-watch.component.html
+++ b/client/src/app/videos/+video-watch/video-watch.component.html
@@ -221,7 +221,7 @@
221 </div> 221 </div>
222</div> 222</div>
223 223
224<ng-template [ngIf]="video !== null"> 224<ng-container *ngIf="video !== null">
225 <my-video-support #videoSupportModal [video]="video"></my-video-support> 225 <my-video-support #videoSupportModal [video]="video"></my-video-support>
226 <my-video-share #videoShareModal [video]="video" [videoCaptions]="videoCaptions"></my-video-share> 226 <my-video-share #videoShareModal [video]="video" [videoCaptions]="videoCaptions"></my-video-share>
227</ng-template> 227</ng-container>
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 af4afd456..c78f5b9a2 100644
--- a/client/src/app/videos/+video-watch/video-watch.component.ts
+++ b/client/src/app/videos/+video-watch/video-watch.component.ts
@@ -469,7 +469,7 @@ export class VideoWatchComponent implements OnInit, OnDestroy {
469 segmentsSha256Url: hlsPlaylist.segmentsSha256Url, 469 segmentsSha256Url: hlsPlaylist.segmentsSha256Url,
470 redundancyBaseUrls: hlsPlaylist.redundancies.map(r => r.baseUrl), 470 redundancyBaseUrls: hlsPlaylist.redundancies.map(r => r.baseUrl),
471 trackerAnnounce: this.video.trackerUrls, 471 trackerAnnounce: this.video.trackerUrls,
472 videoFiles: this.video.files 472 videoFiles: hlsPlaylist.files
473 } as P2PMediaLoaderOptions 473 } as P2PMediaLoaderOptions
474 474
475 Object.assign(options, { p2pMediaLoader }) 475 Object.assign(options, { p2pMediaLoader })