"We offer new support options and therefor the forums are now in read-only mode! Please check out our Support Center for more information." - Vuforia Engine Team

Video Playback integration

Hi,

I am attempting to copy the functionality of the Video Playback sample into my own iOS app, and am stuck at a point...

I have the SDK linked properly, have copied over the class files and assets from the sample, set the arc flags, etc... 

 

Where I am having issues is in launching the VideoPlaybackViewController ... 

I know in the sample the sample app menu is triggered in the App Delegate, then the playback screen is launched from there... 

I believe the relevant code is here : 


- (IBAction)startButtonTapped:(id)sender {
    Class vcClass = NSClassFromString(self.appViewControllerClassName);
    id vc = [[vcClass alloc]  initWithNibName:nil bundle:nil];
    
    SampleAppSlidingMenuController *slidingMenuController = [[SampleAppSlidingMenuController alloc] initWithRootViewController:vc];
    [slidingMenuController shouldIgnoreDoubleTap];
    
    [self.navigationController pushViewController:slidingMenuController animated:NO];
    [slidingMenuController release];
    [vc release]; // don't leak memory
}

 

What I am trying to do is to launch the VideoPlaybackViewController from a segue in my storyboard... but it get stuck on the EaglView progress indicator... 

I've set breakpoints on both the sample and the custom project, and can see the chain of method calls pretty clearly on both... and they seem to match, so I'm not sure that I am doing anything wrong... 

Can someone - either a Mod or someone who has successfully implemented a custom version of the VideoPlayback sample in an ARC project - please give me an idea about what I am missing ?

 

Thanks in advance...

 

~ Jesse

jessescott

Sun, 09/28/2014 - 21:37

So... 29 views and no help ? 

I know that people have been able to do this, and the moderators should be able to answer this... 

Would appreciate any help ... pls + thx

I have the same problem, so far the only thing i came to figure out is that the only example that can manage screen orientation without issues is Books, there are some differences in the SampleAppSession in Books compare to VideoPlayback, also the Books sample opens the BooksViewController to dis