Uncaught TypeError: Cannot read property 'defaults' of undefined
at setJWPlayerDefaults (set-jw-player-defaults.js:18)
at ReactJWPlayer._initialize (react-jw-player.js:146)
at ReactJWPlayer.componentDidMount (react-jw-player.js:102)
at commitLifeCycles (react-dom.development.js:19814)
at commitLayoutEffects (react-dom.development.js:22803)
at HTMLUnknownElement.callCallback (react-dom.development.js:188)
at HTMLUnknownElement.__trace__ (bugsnag.js:2230)
at Object.invokeGuardedCallbackDev (react-dom.development.js:237)
at invokeGuardedCallback (react-dom.development.js:292)
at commitRootImpl (react-dom.development.js:22541)
This makes React-Jw-Player unusable for our purposes, having multiple video players in a single page. we'll look for other solutions out there.
when
useMultiplePlayerScrip
t isn't used only one video is visible and working (the last one used), the other video is simply never created.when useMultiplePlayerScripts={true} is used react-jw-player crashes and plays nothing:
crash:
This makes React-Jw-Player unusable for our purposes, having multiple video players in a single page. we'll look for other solutions out there.