It is possible to implement a callback function, which executes code as soon as a player is loaded. You can hand over the function name that is called when loading the public API of the respective player.