aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/videos
diff options
context:
space:
mode:
Diffstat (limited to 'client/src/app/videos')
-rw-r--r--client/src/app/videos/+video-edit/video-update.component.ts2
-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
3 files changed, 4 insertions, 4 deletions
diff --git a/client/src/app/videos/+video-edit/video-update.component.ts b/client/src/app/videos/+video-edit/video-update.component.ts
index 81c66ff20..6ec187f40 100644
--- a/client/src/app/videos/+video-edit/video-update.component.ts
+++ b/client/src/app/videos/+video-edit/video-update.component.ts
@@ -56,7 +56,7 @@ export class VideoUpdateComponent extends FormReactive implements OnInit {
56 56
57 this.schedulePublicationPossible = this.video.privacy === VideoPrivacy.PRIVATE 57 this.schedulePublicationPossible = this.video.privacy === VideoPrivacy.PRIVATE
58 58
59 const videoFiles = (video as VideoDetails).files 59 const videoFiles = (video as VideoDetails).getFiles()
60 if (videoFiles.length > 1) { // Already transcoded 60 if (videoFiles.length > 1) { // Already transcoded
61 this.waitTranscodingEnabled = false 61 this.waitTranscodingEnabled = false
62 } 62 }
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 })