fix repeat
This commit is contained in:
parent
40c7371b3e
commit
cb3cff7772
@ -393,6 +393,7 @@ class ReactExoplayerView extends FrameLayout implements
|
||||
// Initializing the playerControlView
|
||||
initializePlayerControl();
|
||||
setControls(controls);
|
||||
applyModifiers();
|
||||
}
|
||||
}, 1);
|
||||
}
|
||||
@ -910,6 +911,10 @@ class ReactExoplayerView extends FrameLayout implements
|
||||
exoPlayerView.setResizeMode(resizeMode);
|
||||
}
|
||||
|
||||
private void applyModifiers() {
|
||||
setRepeatModifier(repeat);
|
||||
}
|
||||
|
||||
public void setRepeatModifier(boolean repeat) {
|
||||
if (player != null) {
|
||||
if (repeat) {
|
||||
|
Loading…
Reference in New Issue
Block a user