SolaraS
Solara2y ago
9 replies
Rob02

Ipyreactplayer not working in Solara - New Try

Hi, i've created an interactive videoplayer using ipyreact and reactplayer. It works everywhere (notebook, lab, voila, colab) but not in Solara.
Ill want to give it a new shot as Solara is so nice and thats the last part missing in my app.
https://github.com/widgetti/solara/issues/333

I tested the player with the same Video on Youtube
I updated the Solara and reactplayer versions but i still get the same error
Uncaught (in promise) TypeError: Cannot read properties of null (reading 'Player')
    at Vimeo.js:73:32


Interestingly the code to dynamically load the YT and Vimeo SDKs are almost the same.
https://github.com/cookpete/react-player/blob/master/src/players/YouTube.js#L46
https://github.com/cookpete/react-player/blob/master/src/players/Vimeo.js#L31

I am really baffled how this can happen. Do you have any idea where i can have a closer look?
Was this page helpful?