We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d158b9e commit 1ce2ff4Copy full SHA for 1ce2ff4
spine-ts/spine-player/example/example.html
@@ -25,6 +25,7 @@
25
<button id="screenshot">Screenshot</button>
26
</div>
27
<img id="screenshot-image" src="" style="width: 400px;">
28
+ <div id="container-raptor-audio" style="width:640px; height:380px"></div>
29
</body>
30
<script>
31
// Creates a new spine player. The debugRender option enables
@@ -74,6 +75,17 @@
74
75
});
76
}
77
78
+
79
+ // Creates a new spine player with audio enabled.
80
+ new spine.SpinePlayer("container-raptor-audio", {
81
+ jsonUrl: "assets/raptor-pro.json",
82
+ atlasUrl: "assets/raptor-pma.atlas",
83
+ audioFolderPath: "assets/audio",
84
+ animation: "roar",
85
+ premultipliedAlpha: true,
86
+ backgroundColor: "#cccccc",
87
+ showControls: true
88
+ });
89
</script>
90
91
0 commit comments