update basic example app

This commit is contained in:
Robby Widyahartono
2019-12-10 12:09:38 +07:00
parent bf3efb5303
commit 9f3d63a37d
5 changed files with 689 additions and 217 deletions

View File

@@ -274,7 +274,7 @@ static int const RCTVideoUnset = -1;
[[NSNotificationCenter defaultCenter] postNotificationName:@"RCTVideo_progress" object:nil userInfo:@{@"progress": [NSNumber numberWithDouble: currentTimeSecs / duration]}];
if( currentTimeSecs >= 0 && self.onVideoProgress) {
if(!_isRequestAds && !_paused) {
if(!_isRequestAds) {
[self requestAds];
_isRequestAds = true;
}