jojo
As Spinebot said, you can add an error callback that is invoked when an error occurs.
Within that callback you can access the respective HTMLElement
and modify it.
For example:
error: (player) => {
player.dom.querySelector(".spine-player-error").innerText = "";
}
From the player instance you always have access to:
player.parent // the player container
player.dom // the player dom element
player.canvas // the html canvas
Another approach you might use without accessing any of that is to add some custom css (with important rules, cause inline style has more specificity). For example:
<style>
.spine-player-error {
color: rgba(0,0,0,0) !important;
user-select: none;
}
</style>