Audio not playing aloud Expo VideoPlayer

Expo VideoPlayer @expo/videoplayer does not play audio aloud for random videos. I have found this to happen mostly with youtube video links and instagram video links.

I have a duplication snack here.

Can someone give me a clue on this to get the audio working consistently? Also is there a way to get one set of controls when useNativeControls there is two sets of controls appearing?

Hey @multitown!

Taking a look at the videoplayer repo, no commits have been made in over a year so it doesn’t seem to be maintained anymore.

I would suggest using the Expo Video API, example snack here

Also, to clear up any confusion, the Expo Video API does not currently support Youtube links. You can do something like this snack, however, to play Youtube videos from your app.

Good luck!

1 Like

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.