Loading android-exoplayer/README.md +1 −2 Changes for android-exoplayer/README.md: 1 added line, 2 removed lines. Original line number Diff line number Diff line Loading @@ -42,6 +42,5 @@ https://github.com/google/ExoPlayer ## Unimplemented props - `playInBackground={true}` - `rate={1.0}` - Expansion file - `source={{ mainVer: 1, patchVer: 0 }}` android-exoplayer/src/main/java/com/brentvatne/exoplayer/ReactExoplayerView.java +5 −3 Changes for android-exoplayer/src/main/java/com/brentvatne/exoplayer/ReactExoplayerView.java: 5 added lines, 3 removed lines. Original line number Diff line number Diff line Loading @@ -93,6 +93,7 @@ class ReactExoplayerView extends FrameLayout implements private long resumePosition; private boolean loadVideoStarted; private boolean isFullscreen; private boolean isInBackground; private boolean isPaused = true; private boolean isBuffering; private float rate = 1f; Loading Loading @@ -186,14 +187,15 @@ class ReactExoplayerView extends FrameLayout implements @Override public void onHostResume() { if (playInBackground) { return; } if (!playInBackground || !isInBackground) { setPlayWhenReady(!isPaused); } isInBackground = false; } @Override public void onHostPause() { isInBackground = true; if (playInBackground) { return; } Loading Loading
android-exoplayer/README.md +1 −2 Changes for android-exoplayer/README.md: 1 added line, 2 removed lines. Original line number Diff line number Diff line Loading @@ -42,6 +42,5 @@ https://github.com/google/ExoPlayer ## Unimplemented props - `playInBackground={true}` - `rate={1.0}` - Expansion file - `source={{ mainVer: 1, patchVer: 0 }}`
android-exoplayer/src/main/java/com/brentvatne/exoplayer/ReactExoplayerView.java +5 −3 Changes for android-exoplayer/src/main/java/com/brentvatne/exoplayer/ReactExoplayerView.java: 5 added lines, 3 removed lines. Original line number Diff line number Diff line Loading @@ -93,6 +93,7 @@ class ReactExoplayerView extends FrameLayout implements private long resumePosition; private boolean loadVideoStarted; private boolean isFullscreen; private boolean isInBackground; private boolean isPaused = true; private boolean isBuffering; private float rate = 1f; Loading Loading @@ -186,14 +187,15 @@ class ReactExoplayerView extends FrameLayout implements @Override public void onHostResume() { if (playInBackground) { return; } if (!playInBackground || !isInBackground) { setPlayWhenReady(!isPaused); } isInBackground = false; } @Override public void onHostPause() { isInBackground = true; if (playInBackground) { return; } Loading