[player] Allow loading different data files.
NathanSweet opened this issue · comments
Add a method to load different JSON/binary and atlas files.
As discussed off GitHub, the only thing you gain is not needing to create the shaders, compared to simply instantiating a new player and swapping it for the old one in the DOM.
Allowing to load any data files at any point in time would require a significant rewrite of the player internals, which many edge cases that need to be handled, that would not occur when simply instantiating a new player.