By fabricvuforia
on Fri, 07/05/2013 - 09:17
I have added the following code to allow for automatic playback using a modified version of the Video Playback Sample App.
if(currentStatus != PLAYING) { [videoPlayerHelper[playerIndex] play:NO fromPosition:-1.0f]; currentStatus = [videoPlayerHelper[playerIndex] getStatus]; }
Which starts the video playback perfectly. The issue comes when I tap on the screen, the app freezes with no error message in the Log. Where should I be looking to fix this?
App Crashing after Clicking the screen with Automatic playback
App Crashing after Clicking the screen with Automatic playback
Thanks Nalin for the push in the right direction. I think I have found a decent work around and I'll post my code for anybody else that may need it in future. It just uses a boolean which decides whether to Auto Play the videos and a check to see if the video has changed.
App Crashing after Clicking the screen with Automatic playback
Thanks for the update.
Hope this works out ok :)
N
App Crashing after Clicking the screen with Automatic playback
Hi NalinS,
This didn't work in the end, any ideas on what I can do to get autplaying and tap recognition working in the same app?
Thanks.
App Crashing after Clicking the screen with Automatic playback
What happened in the end - what problem did you encounter?
If you think this should be a feature, then please post in the wish list forum accordingly.
N