fix when controls & muted
This commit is contained in:
parent
3a7be63de3
commit
576273d712
@ -958,7 +958,9 @@ static int const RCTVideoUnset = -1;
|
|||||||
- (void)applyModifiers
|
- (void)applyModifiers
|
||||||
{
|
{
|
||||||
if (_muted) {
|
if (_muted) {
|
||||||
[_player setVolume:0];
|
if (!_controls) {
|
||||||
|
[_player setVolume:0];
|
||||||
|
}
|
||||||
[_player setMuted:YES];
|
[_player setMuted:YES];
|
||||||
} else {
|
} else {
|
||||||
[_player setVolume:_volume];
|
[_player setVolume:_volume];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user