1) Check the database for settings
2) Create player with "mobileControlCreate" and start video playing
3) wait for playerFinished message, then start over.
For some reason, the app completely stops working after about 4 hours. I set up some logging to the app's document folder, and I found that at some point, there is no "playerFinished" message getting received, and at that point, everything just stops. Usually when it starts playing, the "playerProgressChanged" message is sent twice; once as soon as it is loaded, and once again a few seconds later when it has fully buffered the (locally stored) video.
I have attached the complete stack for reference (sanitized). Between that and the log excerpt, perhaps someone can shed some light on this?
As you can see, there are usually two playerProgressChanged messages sent after the movie starts playing, but when it stops, only one message is sent. Hopefully someone will be kind enough to help me figure this out. Thanks!10/26/12 13:48:08 - Player Finished.
10/26/12 13:48:08 - Starting setSource
10/26/12 13:48:08 - preSearchSuccess is"yes".
10/26/12 13:48:08 - About to set up the player. The variables are:
currentPeriod = 6 | currentMovie = topmovie.mov | currentPicture = opensign.png
10/26/12 13:48:08 - Player set up successfully. Movie now playing
10/26/12 13:48:08 - Image set successfully.
10/26/12 13:48:08 - Starting preSearch
10/26/12 13:48:08 - Connecting to database
10/26/12 13:48:08 - Database connection 2035 closed.
10/26/12 13:48:08 - Database connected with connection ID 2043
10/26/12 13:48:09 - PreSearch complete
10/26/12 13:48:09 - Player Progress changed; loadState is and playback state is playing
10/26/12 13:48:09 - Player Progress changed; loadState is playable,playthrough and playback state is playing
10/26/12 13:49:03 - Player Finished.
10/26/12 13:49:03 - Starting setSource
10/26/12 13:49:03 - preSearchSuccess is"yes".
10/26/12 13:49:03 - About to set up the player. The variables are:
currentPeriod = 6 | currentMovie = topmovie.mov | currentPicture = opensign.png
10/26/12 13:49:03 - Player set up successfully. Movie now playing
10/26/12 13:49:03 - Image set successfully.
10/26/12 13:49:03 - Starting preSearch
10/26/12 13:49:03 - Connecting to database
10/26/12 13:49:03 - Database connection 2043 closed.
10/26/12 13:49:04 - Database connected with connection ID 2051
10/26/12 13:49:04 - PreSearch complete
10/26/12 13:49:04 - Player Progress changed; loadState is and playback state is playing ##This is where the app stops working