fix ios block ui issue
This commit is contained in:
		@@ -563,6 +563,10 @@ class RCTVideo: UIView, RCTVideoPlayerViewControllerDelegate, RCTPlayerObserverH
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    func applyModifiers() {
 | 
					    func applyModifiers() {
 | 
				
			||||||
 | 
					        if let video = _player?.currentItem,
 | 
				
			||||||
 | 
					            video == nil || video.status != AVPlayerItem.Status.readyToPlay {
 | 
				
			||||||
 | 
					            return
 | 
				
			||||||
 | 
					        }
 | 
				
			||||||
        if _muted {
 | 
					        if _muted {
 | 
				
			||||||
            if !_controls {
 | 
					            if !_controls {
 | 
				
			||||||
                _player?.volume = 0
 | 
					                _player?.volume = 0
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user