From c4fb3080b03c5f0065303dd6f80e04411fe17dd4 Mon Sep 17 00:00:00 2001 From: Olivier Bouillet Date: Wed, 22 Jan 2025 22:36:31 +0100 Subject: [PATCH] fix: push missing revert --- ios/Video/RCTVideo.swift | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/ios/Video/RCTVideo.swift b/ios/Video/RCTVideo.swift index a624cc2713..702ae7ef53 100644 --- a/ios/Video/RCTVideo.swift +++ b/ios/Video/RCTVideo.swift @@ -1537,8 +1537,9 @@ class RCTVideo: UIView, RCTVideoPlayerViewControllerDelegate, RCTPlayerObserverH let isPlaying = player.timeControlStatus == .playing guard _isPlaying != isPlaying else { return } - _isPlaying = isPlaying - _paused = !isPlaying + if (_controls) { + _isPlaying = isPlaying + } onVideoPlaybackStateChanged?(["isPlaying": isPlaying, "isSeeking": self._pendingSeek == true, "target": reactTag as Any]) }