diff --git a/ios/Video/RCTVideo.swift b/ios/Video/RCTVideo.swift index df8c8838..345e9ab2 100644 --- a/ios/Video/RCTVideo.swift +++ b/ios/Video/RCTVideo.swift @@ -297,7 +297,7 @@ class RCTVideo: UIView, RCTVideoPlayerViewControllerDelegate, RCTPlayerObserverH } self._player = self._player ?? AVPlayer() - self._player.replaceCurrentItem(with: playerItem) + self._player?.replaceCurrentItem(with: playerItem) self._playerObserver.player = self._player self.applyModifiers() self._player?.actionAtItemEnd = .none