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

onSetupError doesn't fire for playerScript 401 #192

Open
ryandagg opened this issue Feb 8, 2022 · 0 comments
Open

onSetupError doesn't fire for playerScript 401 #192

ryandagg opened this issue Feb 8, 2022 · 0 comments

Comments

@ryandagg
Copy link

ryandagg commented Feb 8, 2022

react-jw-player@npm:1.19.1

To reproduce:

<ReactJWPlayer
    playerScript='https://content.jwplatform.com/libraries/FAKE_ID.js'
    onSetupError={console.log}
    {...props}
/>

onSetupError will not fire. I would expect it to or for this library to provide some other prop handler for this situation.

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

1 participant