Closed PupoSDC closed 2 years ago
I created a sample repo with minimal code that should get this plugin to work to start and stop a video:
https://github.com/PupoSDC/react-music-control-demo/blob/main/App.tsx
but it doesn't work (ie: no controls appear). What am i missing?
On top of the presented solution, i've tried:
useEffect
setNowPlaying
Platform ?
Closing as I'm no longer working with this library.
Description
I created a sample repo with minimal code that should get this plugin to work to start and stop a video:
https://github.com/PupoSDC/react-music-control-demo/blob/main/App.tsx
but it doesn't work (ie: no controls appear). What am i missing?
On top of the presented solution, i've tried:
useEffect
setNowPlaying
before setting up controlssetNowPlaying
after setting up controlssetNowPlaying
with a 5 second delay to make sure audio is being played by the videoPlatform ?