mirror of
https://github.com/TeamPiped/Piped.git
synced 2024-08-14 23:57:27 +00:00
Fire a player init event on initialization. (#2008)
This commit is contained in:
parent
7d4e070f88
commit
869489b8da
1 changed files with 3 additions and 0 deletions
|
@ -471,6 +471,9 @@ export default {
|
|||
|
||||
this.updateMarkers();
|
||||
|
||||
const event = new Event("playerInit");
|
||||
window.dispatchEvent(event);
|
||||
|
||||
const player = this.$ui.getControls().getPlayer();
|
||||
|
||||
this.$player = player;
|
||||
|
|
Loading…
Reference in a new issue