diff options
author | Chocobozzz <me@florianbigard.com> | 2018-01-12 17:16:48 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2018-01-12 17:17:45 +0100 |
commit | 339632b4a3f94a6ebee3767054ef6c701858a785 (patch) | |
tree | e71fe304d9b4b732609724ee2402be97843d2332 /client/src/app/videos/+video-watch/video-watch.component.ts | |
parent | 0af3182bf77aac7fc0a122d559ccb1941e75db23 (diff) | |
download | PeerTube-339632b4a3f94a6ebee3767054ef6c701858a785.tar.gz PeerTube-339632b4a3f94a6ebee3767054ef6c701858a785.tar.zst PeerTube-339632b4a3f94a6ebee3767054ef6c701858a785.zip |
Fix changing video in watch page
Diffstat (limited to 'client/src/app/videos/+video-watch/video-watch.component.ts')
-rw-r--r-- | client/src/app/videos/+video-watch/video-watch.component.ts | 2 |
1 files changed, 1 insertions, 1 deletions
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 1c2317c52..c9bdd4dfc 100644 --- a/client/src/app/videos/+video-watch/video-watch.component.ts +++ b/client/src/app/videos/+video-watch/video-watch.component.ts | |||
@@ -347,7 +347,7 @@ export class VideoWatchComponent implements OnInit, OnDestroy { | |||
347 | }) | 347 | }) |
348 | }) | 348 | }) |
349 | } else { | 349 | } else { |
350 | (this.player as any).setVideoFiles(this.video.files) | 350 | this.player.peertube().setVideoFiles(this.video.files) |
351 | } | 351 | } |
352 | 352 | ||
353 | this.setVideoDescriptionHTML() | 353 | this.setVideoDescriptionHTML() |