Make sure modifiers are applied before playing
This commit is contained in:
parent
1eb11ce7b7
commit
dcea67eb96
@ -383,6 +383,7 @@ static int const RCTVideoUnset = -1;
|
|||||||
}
|
}
|
||||||
|
|
||||||
self->_player = [AVPlayer playerWithPlayerItem:self->_playerItem];
|
self->_player = [AVPlayer playerWithPlayerItem:self->_playerItem];
|
||||||
|
[self applyModifiers];
|
||||||
self->_player.actionAtItemEnd = AVPlayerActionAtItemEndNone;
|
self->_player.actionAtItemEnd = AVPlayerActionAtItemEndNone;
|
||||||
|
|
||||||
[self->_player addObserver:self forKeyPath:playbackRate options:0 context:nil];
|
[self->_player addObserver:self forKeyPath:playbackRate options:0 context:nil];
|
||||||
|
Loading…
Reference in New Issue
Block a user