VideoPlayer - Workaround. Is there a better way to do this ?
Hello,
Basically, my app has a TabGroup with 3 Windows, one of the windows contains a VideoPlayer. I want the video to keep playing while the user switches Tabs.
I managed to keep the audio playing by changing the AudioSessionMode, but when i switch back to the Video-Tab, the display stays black (controls are visible, but no video).
How can i tell the videoplayer to resume drawing/updating the display ?
My workaround so far:
vidPlayer.fullscreen = true;
vidPlayer.fullscreen = false;
It gets the job done, but isnt exactly clean coding i guess.