Log in or register to post comments

Video Playback integration

September 19, 2014 - 12:07am #1

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

Video Playback integration

November 16, 2014 - 7:34pm #5

rohith19 wrote:

I have downloaded the ideoplayback sample code for IOS. I face issues in orientation. Whn is set orientation as PORTRAIT i don see any issues in any of the devices.

When i run in Landscape , the Black Bar appears in Ipadmini Retina . Can you please let me know the issues and also if anythin is missed in part of SDK

 

This should really be opened as a separate post.

Video Playback integration

November 6, 2014 - 10:38am #4

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 display the AR, where the VideoPlayback sample opens a VideoPlaybackViewController inside the class SampleAppSlidingMenu. But i currently dont have time to find the answer to this issue, if you find it please share.

I think the "easiest" way to fix this issue is to start from the Books sample.

 

Video Playback integration

November 4, 2014 - 3:19am #3

I have downloaded the ideoplayback sample code for IOS. I face issues in orientation. Whn is set orientation as PORTRAIT i don see any issues in any of the devices.

When i run in Landscape , the Black Bar appears in Ipadmini Retina . Can you please let me know the issues and also if anythin is missed in part of SDK

Video Playback integration

September 28, 2014 - 2:37pm #2

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

Log in or register to post comments