fix(theme-v2): ensure theme audio autoplays on load and handles unlock gesture

This commit is contained in:
HorizonCode committed 2026-11-01 14:54:04 +01:00
1 parent ad3fe7c586
commit d38250a5e4
4 files changed
+36 -8

No files matched your search

+1
View File
@@ -434,6 +434,7 @@ export const loadTheme = async (theme: Theme, themeContainer: HTMLElement, volum
if (theme.definition) {
setGlobalVolume(volume);
disableMediaControls();
void invoke('unlock_media_autoplay').catch(() => {});
return;
}
if (theme.scriptUrl.length > 0) {