Merge pull request #1083 from react-native-community/chore/exoplayer-autoplay

Automatically play on ExoPlayer when the paused prop is not set
This commit is contained in:
Hampton Maxwell
2018-06-21 22:37:39 -07:00
committed by GitHub

View File

@@ -102,7 +102,7 @@ class ReactExoplayerView extends FrameLayout implements
private boolean loadVideoStarted; private boolean loadVideoStarted;
private boolean isFullscreen; private boolean isFullscreen;
private boolean isInBackground; private boolean isInBackground;
private boolean isPaused = true; private boolean isPaused;
private boolean isBuffering; private boolean isBuffering;
private float rate = 1f; private float rate = 1f;