• Runtimes
  • WebPlayer controls

Hi,

I want to use the webplayer to display animation on my web site... can it be only used with the integrated controls? Or if I hide the control, I can only display one animation with no dynamic changes possible?

I mean, if I hide the controls, it's possible to call a specific animation on a link click? And also, if there are two different animations with two webplayers on the same page, is it possible on the click of one of them to change the animation of the other?

I'm not really sure what I can do...

Thank you!
Have a nice evening
Anne

Related Discussions
...

Yes, you can hide the controls, then call SpinePlayer.setAnimation(animationName) to play back a specific animation.

If you need interactivity, the web player is not the best option. In this case, I'd recommend looking into our spine-ts WebGL runtime, or the PixiJS Spine integration (not maintained by us).

Thank you for your answer, I will check that!