Skip to content

Issues with version 2.1 trying to run simple example  #902

Closed

Activity

RusseII

RusseII commented on May 28, 2020

@RusseII
Author

Works when I downgrade the version to 2.01

cookpete

cookpete commented on May 29, 2020

@cookpete
Owner

2.1.0 uses import() statements for lazy loading players. Seems like codesandbox doesn't handle them very well.

Relevant issues:

Not an ideal solution but I guess it would work if you used the built file in dist instead? eg:

https://unpkg.com/react-player@2.1.0/dist/ReactPlayer.js

added a commit that references this issue on Jun 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Issues with version 2.1 trying to run simple example · Issue #902 · cookpete/react-player