react-native-af-video-player icon indicating copy to clipboard operation
react-native-af-video-player copied to clipboard

ios not play audio

Open PanRada opened this issue 6 years ago • 5 comments

  • react-native-af-video-player version:1.19
  • React Native version: 0.54.0
  • OS: ios

Is any one nitce this issue - Android play audio (mp3) fine ios not

Any one can support?

PanRada avatar Apr 18 '18 17:04 PanRada

same problem

fluckplayman avatar Apr 19 '18 08:04 fluckplayman

any one more? or solution ?

PanRada avatar Apr 19 '18 08:04 PanRada

mp4 also audio not working.

fluckplayman avatar Apr 19 '18 11:04 fluckplayman

did you set the iPhone silent mode?

Ding95 avatar Jun 06 '18 07:06 Ding95

I had audio on my headphone but not the phone speakers. In my case I had turned on the hardware silent switch. Turning off did fix it. It seems the issue is with internal management of the react-native-video prop "ignoreSilentSwitch" as @flexgrip suggested.

react-native-audio repo also has listed few issues related to this and this post helped me: https://github.com/react-native-community/react-native-video/issues/874#issuecomment-369840510

yehancha avatar Aug 23 '19 05:08 yehancha