mirror of
https://github.com/TeamPiped/Piped.git
synced 2025-10-16 04:18:18 +00:00
Fire a player init event on initialization. (#2008)
This commit is contained in:
@@ -471,6 +471,9 @@ export default {
|
|||||||
|
|
||||||
this.updateMarkers();
|
this.updateMarkers();
|
||||||
|
|
||||||
|
const event = new Event("playerInit");
|
||||||
|
window.dispatchEvent(event);
|
||||||
|
|
||||||
const player = this.$ui.getControls().getPlayer();
|
const player = this.$ui.getControls().getPlayer();
|
||||||
|
|
||||||
this.$player = player;
|
this.$player = player;
|
||||||
|
Reference in New Issue
Block a user