Hello guys. I have this tour that is crashing only on mobile devices. It looks like there is a redirect loop. But this is happening only in this project, other projects are working as expected. Can someone help me debug what is going on?
Tour crashing on mobile
-
-
Hi,
I think it might your .mp3 sound file - it is huge (~58MB).
Note - the playsound action uses the WebAudio API and that API fully loads and decodes the sound file before playing - and a compressed 58MB mp3 files needs as decoded sound samples surely an huge amount of memory (in your case: 2428sec * 44100hz * 32bit * 2stereo = ~817MB).
Try using streamsound instead - that will load and play the file chunk-wise and use much less memory.
Best regards,
Klaus -
Hi,
I think it might your .mp3 sound file - it is huge (~58MB).
Note - the playsound action uses the WebAudio API and that API fully loads and decodes the sound file before playing - and a compressed 58MB mp3 files needs as decoded sound samples surely an huge amount of memory (in your case: 2428sec * 44100hz * 32bit * 2stereo = ~817MB).
Try using streamsound instead - that will load and play the file chunk-wise and use much less memory.
Best regards,
KlausHi Klaus, thank you for replying. I was thinking the same. I'll guide the client to use a lighter mp3 file and try to use this plugin you suggested.
Thanks again, best regards.
-
try to use this plugin you suggested.
...no plugin, just change 'playsound' to 'streamsound' in your html file... a simple and easy change... -
...no plugin, just change 'playsound' to 'streamsound' in your html file... a simple and easy change...LOL I meant Action, typed in a hurry. Thanks again.
Jetzt mitmachen!
Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!