micnews / react-jw-player

A React Component API for JW Player

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

onSetupError doesn't fire for playerScript 401

ryandagg opened this issue · comments

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.