@superinterface/react 2.4.1 → 2.4.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +1 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -2947,6 +2947,7 @@ var useMessageAudio = function(param) {
|
|
|
2947
2947
|
isInited.current = true;
|
|
2948
2948
|
if (isHtmlAudioSupported) {
|
|
2949
2949
|
var audioContext = new AudioContext();
|
|
2950
|
+
Howler._howls[0]._sounds[0]._node.crossOrigin = "anonymous";
|
|
2950
2951
|
setAudioEngine({
|
|
2951
2952
|
// @ts-ignore-next-line
|
|
2952
2953
|
source: audioContext.createMediaElementSource(Howler._howls[0]._sounds[0]._node),
|