Merge pull request #3077 from francescoben/bug/3068_ios_ads_muted
fix: iOS Ads are reproduced with sound even if muted or volume set to 0
This commit is contained in:
@@ -500,6 +500,11 @@ class RCTVideo: UIView, RCTVideoPlayerViewControllerDelegate, RCTPlayerObserverH
|
||||
applyModifiers()
|
||||
}
|
||||
|
||||
@objc
|
||||
func isMuted() -> Bool {
|
||||
return _muted
|
||||
}
|
||||
|
||||
@objc
|
||||
func setMuted(_ muted:Bool) {
|
||||
_muted = muted
|
||||
|
||||
Reference in New Issue
Block a user