By ptsecurityvuforia
on Tue, 10/30/2018 - 03:49
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
ofObject:(id)object
change:(NSDictionary*)change
context:(void*)context