Desynchronizing audio because scenes don't automatically advance in the background

Problem: When an HTML5 export is running in a background tab, scenes don’t automatically advance as they should.

Saola Animate version: 3.0.0

OS: Windows 10

Notes:
https://spider.zone/scraps/open/

The music is synchronized to the animations.

When it’s played in a focused tab, it changes from scene to scene properly, but when the user is in another tab, scenes don’t advance properly, and the audio is desynchronized.

Hi Victoria,

Most browsers don’t run animations in inactive tabs to improve performance and battery life while audio/video is still running so this issue occurs.

In future updates, we’ll consider pausing audio/video when the browser tab is inactive to prevent this issue.

Regards