Clean project structure (#320)

This commit is contained in:
Andrew Jack
2016-09-21 14:34:25 +01:00
committed by Matt Apperson
parent 8c9168b582
commit 0c746e8fe8
65 changed files with 107 additions and 1046 deletions

View File

@@ -258,7 +258,11 @@ public class ReactVideoView extends ScalableVideoView implements MediaPlayer.OnP
mEventEmitter.receiveEvent(getId(), Events.EVENT_LOAD_START.toString(), event);
// not async to prevent random crashes on Android playback from local resource due to race conditions
prepare(this);
try {
prepare(this);
} catch (Exception e) {
e.printStackTrace();
}
}
public void setResizeModeModifier(final ScalableType resizeMode) {