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