Hi there, I'm currently using:
_player = anm.Player.forSnapshot(
... and so on
to create my own player, this works all fine except when currentAnimation.URL is not like ".../files/animation.json" but like ".../files/greetingsto.php?name=Peter" then only ".../files/greetings_to.php" is called.
It seems to me that parameters are "cut out" by the lines 41 - 45 in https://github.com/Animatron/player/blob/develop/src/anm/loader.js where you seem to make them to player options.
If that is true there are two ways to handle it:
1) You make the parameters to options as you do now AND also add them to the called URL or
2) I'd suggest kind of a namespace for player based parameters like anmP_width, anmP_ehight and so on and you only take these out and send all the others with the request.
For ease I guess the first option would also do a good job.
How can I passstrough my parameters, please?
Thanks again a lot, Tobias