fix(curriculum): fix fade in on first audioplay (#57758)

This commit is contained in:
DanielRosa74
2025-01-03 12:54:44 -03:00
committed by GitHub
parent e46bc84152
commit 2465831085
@@ -49,8 +49,10 @@ export function Scene({
const { current } = audioRef;
if (current) {
current.volume = 1;
current.addEventListener('canplaythrough', audioLoaded);
current.src = `${sounds}/${audio.filename}${audioTimestamp}`;
current.preload = 'auto';
current.load();
}