zangbianxuegu Sorry for the confusion Spinebot's response caused, please use the success
callback, not "onLoad":
new spine.SpinePlayer("player-container", {
jsonUrl: "/files/path/mySkeleton.json",
atlasUrl: "/files/path/mySkeleton.atlas",
showLoading: false,
success: function (player) {
console.log("The skeleton and its assets have been successfully loaded.");
}
});