Merge pull request #778 from ChatLurking/fix(Android)-issue-543
Reset isCompleted flag on source change
This commit is contained in:
commit
ed49ce77bc
@ -301,6 +301,7 @@ public class ReactVideoView extends ScalableVideoView implements MediaPlayer.OnP
|
||||
WritableMap event = Arguments.createMap();
|
||||
event.putMap(ReactVideoViewManager.PROP_SRC, src);
|
||||
mEventEmitter.receiveEvent(getId(), Events.EVENT_LOAD_START.toString(), event);
|
||||
isCompleted = false;
|
||||
|
||||
try {
|
||||
prepareAsync(this);
|
||||
|
Loading…
Reference in New Issue
Block a user