And I have a button that toggles the globalVideoState. When I click, and the globalVideoState is changed to VideoPlayerState.playing, it loads like it should. However, when I click it again two more times (so I toggle it to open again) it doesn't show. Idk what is going on.
So, I have this code, `
And I have a button that toggles the
globalVideoState
. When I click, and theglobalVideoState
is changed toVideoPlayerState.playing
, it loads like it should. However, when I click it again two more times (so I toggle it to open again) it doesn't show. Idk what is going on.