pausePlayback() function deleted because it was causing play/pause problem when content playing fullscreen
https://github.com/react-native-video/react-native-video/issues/2130
This commit is contained in:
parent
a42cfdbb5c
commit
8cbbb1334f
@ -701,9 +701,6 @@ class ReactExoplayerView extends FrameLayout implements
|
||||
switch (focusChange) {
|
||||
case AudioManager.AUDIOFOCUS_LOSS:
|
||||
eventEmitter.audioFocusChanged(false);
|
||||
//ANDROID FULLSCREEN PLAY/PAUSE PROBLEM FIXED [Ahmet Berk İnçoğlu](https://github.com/ahmetberkinc)
|
||||
//https://github.com/react-native-video/react-native-video/issues/2130
|
||||
// pausePlayback();
|
||||
audioManager.abandonAudioFocus(this);
|
||||
break;
|
||||
case AudioManager.AUDIOFOCUS_LOSS_TRANSIENT:
|
||||
|
Loading…
Reference in New Issue
Block a user