Titanium Community Questions & Answer Archive

We felt that 6+ years of knowledge should not die so this is the Titanium Community Questions & Answer Archive

VideoPlayer - Workaround. Is there a better way to do this ?


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.

— asked September 17th 2010 by David Waith
  • audiosessionmode
  • video
  • videoplayer

0 Answers

The ownership of individual contributions to this community generated content is retained by the authors of their contributions.
All trademarks remain the property of the respective owner.