aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--client/src/app/+videos/+video-watch/video-watch.component.ts2
-rw-r--r--client/src/standalone/videos/embed.ts2
2 files changed, 2 insertions, 2 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 7ff860e79..0a61227a8 100644
--- a/client/src/app/+videos/+video-watch/video-watch.component.ts
+++ b/client/src/app/+videos/+video-watch/video-watch.component.ts
@@ -548,7 +548,7 @@ export class VideoWatchComponent implements OnInit, OnDestroy {
548 this.zone.run(() => this.theaterEnabled = enabled) 548 this.zone.run(() => this.theaterEnabled = enabled)
549 }) 549 })
550 550
551 this.hooks.runAction('action:video-watch.player.loaded', 'video-watch', { player: this.player }) 551 this.hooks.runAction('action:video-watch.player.loaded', 'video-watch', { player: this.player, videojs })
552 }) 552 })
553 553
554 this.setVideoDescriptionHTML() 554 this.setVideoDescriptionHTML()
diff --git a/client/src/standalone/videos/embed.ts b/client/src/standalone/videos/embed.ts
index c79471005..af98a1561 100644
--- a/client/src/standalone/videos/embed.ts
+++ b/client/src/standalone/videos/embed.ts
@@ -588,7 +588,7 @@ export class PeerTubeEmbed {
588 }) 588 })
589 } 589 }
590 590
591 this.runHook('action:embed.player.loaded', undefined, { player: this.player }) 591 this.runHook('action:embed.player.loaded', undefined, { player: this.player, videojs })
592 } 592 }
593 593
594 private async initCore () { 594 private async initCore () {