summaryrefslogtreecommitdiffstats
path: root/platform/web/js/engine/config.js
diff options
context:
space:
mode:
authorYahkub-R <62478788+Yahkub-R@users.noreply.github.com>2024-08-06 09:46:37 -0400
committerYahkub-R <62478788+Yahkub-R@users.noreply.github.com>2024-08-08 15:58:25 -0400
commitbcd776e44174677f1995a49b697f9651f1f692ec (patch)
tree736921e5807b18feee8f805678b5a299b1f4a5a6 /platform/web/js/engine/config.js
parent446e7a7c228d19341392ec3b02417244fe7dfe03 (diff)
downloadredot-engine-bcd776e44174677f1995a49b697f9651f1f692ec.tar.gz
Fix AudioStreamPlayer get_playback_position() for web build
Diffstat (limited to 'platform/web/js/engine/config.js')
-rw-r--r--platform/web/js/engine/config.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/platform/web/js/engine/config.js b/platform/web/js/engine/config.js
index 8c4e1b1b24..61b488cf81 100644
--- a/platform/web/js/engine/config.js
+++ b/platform/web/js/engine/config.js
@@ -299,6 +299,8 @@ const InternalConfig = function (initConfig) { // eslint-disable-line no-unused-
return `${loadPath}.worker.js`;
} else if (path.endsWith('.audio.worklet.js')) {
return `${loadPath}.audio.worklet.js`;
+ } else if (path.endsWith('.audio.position.worklet.js')) {
+ return `${loadPath}.audio.position.worklet.js`;
} else if (path.endsWith('.js')) {
return `${loadPath}.js`;
} else if (path in gdext) {