fix when controls & muted

This commit is contained in:
Daniel Mariño 2019-07-06 13:58:18 +02:00
parent 3a7be63de3
commit 576273d712

View File

@ -958,7 +958,9 @@ static int const RCTVideoUnset = -1;
- (void)applyModifiers
{
if (_muted) {
[_player setVolume:0];
if (!_controls) {
[_player setVolume:0];
}
[_player setMuted:YES];
} else {
[_player setVolume:_volume];