Log in or register to post comments

Trouble with autoplay/looping video

October 29, 2018 - 8:49pm #1

We have app which recognize image and show related video over the top this image.

We implement default sample app and change it, but we have trouble with autoplay/looping. judging by the code when run:

- (BOOL)load:(NSString*)filename playImmediately:(BOOL)playOnTextureImmediately fromPosition:(float)seekPosition

with playOnTextureImmediately=YES we must play video immediately. But observation doesn't work correct:

- (void)observeValueForKeyPath:(NSString*) path




Log in or register to post comments