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

[Vimeo Bug]: ReactPlayer: the attempt to load {vimeo url} is being deferred until the player has loaded #1396

Closed
zhaoxing-msft opened this issue Feb 8, 2022 · 3 comments

Comments

@zhaoxing-msft
Copy link

Be sure to search for your issue before opening a new one.

Current Behavior

Vimeo fast switch bug already be fixed by set static forceLoad = true in commit 6acf69a
but in later commit 1752b8d introduced the bug again, because lazy import can't read static forceLoad = true and caused the bug

Expected Behavior

Vimeo fast switch bug being fixed

Steps to Reproduce

  1. change vimeo video url fast will trigger the bug

Environment

Other Information

@cookpete
Copy link
Owner

From 2.10.0 you can use the secret disableDeferredLoading={true} prop to disable that behaviour completely.

@jp-albrecht
Copy link

When I use disableDeferredLoading={true} I get a console warning. Is there a way I can avoid this?

image

@EliseiNicolae
Copy link

I got the same error as @jp-albrecht.

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

No branches or pull requests

4 participants