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

[react-player] setAutoplay() Can't use whilst loading. warning in console #214

Closed
ghtea opened this issue Aug 31, 2023 · 10 comments · Fixed by #269
Closed

[react-player] setAutoplay() Can't use whilst loading. warning in console #214

ghtea opened this issue Aug 31, 2023 · 10 comments · Fixed by #269
Labels
bug Something isn't working

Comments

@ghtea
Copy link

ghtea commented Aug 31, 2023

When I use <DotLottiePlayer src="..." /> from @dotlottie/react-player,
I get setAutoplay() Can't use whilst loading. warning in console.
How can I fix this?

@afsalz
Copy link
Contributor

afsalz commented Aug 31, 2023

@ghtea thanks for bringing this up. we have added a fix for this #215. We will be releasing it as soon as possible

@afsalz afsalz added the bug Something isn't working label Aug 31, 2023
@afsalz
Copy link
Contributor

afsalz commented Aug 31, 2023

Hi, @ghtea we just released a fix for this. Please try updating the player to the latest @dotlottie/[email protected]

@ghtea
Copy link
Author

ghtea commented Sep 4, 2023

@afsalz thanks, warning disappeared!

@afsalz afsalz closed this as completed Sep 4, 2023
@davidkhierl
Copy link

still happening on latest version

@ZainChen
Copy link

ZainChen commented Nov 3, 2023

"@dotlottie/react-player": "^1.6.3":
image

@sergio-milu
Copy link

"@dotlottie/react-player": "^1.6.3": image

I'm seeng same warkning @afsalz in latest version 1.6.5

@theashraf theashraf reopened this Dec 2, 2023
@afsalz
Copy link
Contributor

afsalz commented Dec 5, 2023

Hello @sergio-milu We can't seem to reproduce this issue. Could you help us reproduce it in a codesandbox and share the link with us?

@sergio-milu
Copy link

Hello @sergio-milu We can't seem to reproduce this issue. Could you help us reproduce it in a codesandbox and share the link with us?

Hey, i'm reproducing the issue when using NetxJs and dynamic import (lazy loading)

I think you can see it here

@afsalz afsalz linked a pull request Dec 6, 2023 that will close this issue
7 tasks
@afsalz
Copy link
Contributor

afsalz commented Dec 8, 2023

Hi @sergio-milu we have released a fix for this. Please let us know if you're still facing this issue with the new version 1.6.6

@sergio-milu
Copy link

Hi @sergio-milu we have released a fix for this. Please let us know if you're still facing this issue with the new version 1.6.6

seems that is working now, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants