Send videojs to action player hooks
This commit is contained in:
parent
79f392a657
commit
0cd6ffc09c
2 changed files with 2 additions and 2 deletions
|
@ -548,7 +548,7 @@ export class VideoWatchComponent implements OnInit, OnDestroy {
|
|||
this.zone.run(() => this.theaterEnabled = enabled)
|
||||
})
|
||||
|
||||
this.hooks.runAction('action:video-watch.player.loaded', 'video-watch', { player: this.player })
|
||||
this.hooks.runAction('action:video-watch.player.loaded', 'video-watch', { player: this.player, videojs })
|
||||
})
|
||||
|
||||
this.setVideoDescriptionHTML()
|
||||
|
|
|
@ -588,7 +588,7 @@ export class PeerTubeEmbed {
|
|||
})
|
||||
}
|
||||
|
||||
this.runHook('action:embed.player.loaded', undefined, { player: this.player })
|
||||
this.runHook('action:embed.player.loaded', undefined, { player: this.player, videojs })
|
||||
}
|
||||
|
||||
private async initCore () {
|
||||
|
|
Loading…
Reference in a new issue