Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug: The play() request was interrupted by a new load request #48

Closed
cmaerz opened this issue Aug 16, 2021 · 2 comments · Fixed by #49
Closed

Bug: The play() request was interrupted by a new load request #48

cmaerz opened this issue Aug 16, 2021 · 2 comments · Fixed by #49

Comments

@cmaerz
Copy link

cmaerz commented Aug 16, 2021

Version 3.0.1 give me the following error:

image

In Version 3.0.0 everything is fine.

My Code is the following:

canAutoPlay
          .video({ timeout: 4000, muted: false, inline: true })
          .then((data) => {
            console.log(data);
            const { result } = data;
            const startAutoplay = result === true;
            store.dispatch(actions.init(startAutoplay));
            finishPlayerInitialization(startAutoplay);
          });
@gkatsev
Copy link
Member

gkatsev commented Aug 16, 2021

Oh, I think I see the problem. I think that the change that was added 66c406e is likely in the wrong place. It should probably move into sendOutput.

gkatsev added a commit that referenced this issue Aug 17, 2021
gkatsev added a commit that referenced this issue Aug 17, 2021
@gkatsev
Copy link
Member

gkatsev commented Aug 17, 2021

Published 3.0.2 with a fix. Can you please try it out and let me know if you still see the issue, @cmaerz?

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants