#The play() request was interrupted by a call to pause()
13 messages · Page 1 of 1 (latest)
I am not using React Strict Mode, and while it doesn't crash the application, it does disrupt my sound functionality. Once the bug is triggered, I am unable to replay the sounds.
we recently improved the handling of short audio: https://github.com/remotion-dev/remotion/pull/3194
are you below or above v4.0.73?
I'm below, going to test thanks !
Yes I have the same error The play() request was interrupted by a call to pause(). https://goo.gl/LdLk22
And I also noticed that after the error is triggered, when I pause, then play the video, the sound is played while it should not
When I don't pause the video everything is fine though
I also just get this : Tried to simultaneously mount 6 <Audio /> tags at the same time. With the current settings, the maximum amount of <Audio /> tags is limited to 5 at the same time. Remotion pre-mounts silent audio tags to help avoid browser autoplay restrictions. See https://remotion.dev/docs/player/autoplay#use-the-numberofsharedaudiotags-property for more information on how to increase this limit.
@vital oasis that could indeed be a factor. are you familiar with how the shared audio tags work? how many audio tags are we talking about?
but regarding the original error, I was able to reproduce. will look into it and reply
I try to play like 10 sounds, but not at the same time
hi @vital oasis, I have now taken a look at this, and think I have a proper fix for the next version! https://github.com/remotion-dev/remotion/pull/3235
Hello the error is now fixed thanks
But I still have the bug that when I pause, then play the video, the sound is played while it should not
@vital oasis ok, glad it is partly solved
regarding the audio being played when it is not - can you elaborate further?
if you play the video, why don't you want the audio to be played?
maybe a code snippet or screen recording can explain it better?
I found the issue, I forgot to add an endAt at my audio sequence so it was played everytime I hit play button