From 73dde32cced158c34a2b1547c2ead4ec779b1dc4 Mon Sep 17 00:00:00 2001 From: Axel Vencatareddy Date: Thu, 17 Nov 2022 12:24:49 +0100 Subject: [PATCH] [IOS ADS] Fix missing self in closure --- ios/Video/RCTVideo.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ios/Video/RCTVideo.swift b/ios/Video/RCTVideo.swift index 9c761228..12b1b25d 100644 --- a/ios/Video/RCTVideo.swift +++ b/ios/Video/RCTVideo.swift @@ -310,7 +310,7 @@ class RCTVideo: UIView, RCTVideoPlayerViewControllerDelegate, RCTPlayerObserverH self.setAutomaticallyWaitsToMinimizeStalling(self._automaticallyWaitsToMinimizeStalling) } - if _adTagUrl != nil { + if self._adTagUrl != nil { // Set up your content playhead and contentComplete callback. self._contentPlayhead = IMAAVPlayerContentPlayhead(avPlayer: self._player!)