diff options
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 65b974037..dda870905 100644 --- a/client/src/app/videos/+video-watch/video-watch.component.ts +++ b/client/src/app/videos/+video-watch/video-watch.component.ts | |||
@@ -435,7 +435,7 @@ export class VideoWatchComponent implements OnInit, OnDestroy { | |||
435 | 435 | ||
436 | const self = this | 436 | const self = this |
437 | this.zone.runOutsideAngular(async () => { | 437 | this.zone.runOutsideAngular(async () => { |
438 | videojs(this.playerElement, videojsOptions, function () { | 438 | videojs(this.playerElement, videojsOptions, function (this: videojs.Player) { |
439 | self.player = this | 439 | self.player = this |
440 | this.on('customError', ({ err }: { err: any }) => self.handleError(err)) | 440 | this.on('customError', ({ err }: { err: any }) => self.handleError(err)) |
441 | 441 | ||