Questions tagged [expo-av]

173 questions
3
votes
1 answer

Video display as black screen and audio only when playing .m3u8 from s3 bucket

Updated: I'm using Expo Managed, expo-av I’m facing an issue when playing .m3u8 video on IOS device. We are uploading video on s3 bucket and generate .m3u8 video url, at the time we load video, it’s showing as black screen in player and only audio…
3
votes
0 answers

Unhandled promise rejection: Error: Seeking interrupted. on expo video av React Native

I'm trying to implement the setPositionAsync() for changing the position of the video with a slider, it works, but when i change it it gives me hundreds and hundreds of warnings about an unhandled promise rejection : Error: Seeking…
3
votes
0 answers

Add css to child video in react-native-video or expo-av

Using expo-av to create a video, I am trying to target the created video with css. I want to make the video height:100% of the container. But I don't know how to access the actual video, only the container. How can I target the child video of the…
3
votes
0 answers

Expo: expo-av play new audio file in the background?

Is it possible for Expo (managed workflow) to play new audio file in the background using expo-av? According to this https://expo.canny.io/feature-requests/p/audio-playback-in-background feature request it is not possible. However, looking at this…
user7858768
  • 838
  • 7
  • 22
3
votes
2 answers

Autoplay video on element focus in react-native

import {Video} from 'expo-av'; return ( item.names} renderItem={({item})=>(
3
votes
1 answer

Flatlist with video streaming, React Native, Expo, runs into memory problems on Android

Expo app with flatlist and one video per line. (cf. TikTok) Expo SDK 40.0.0 Flatlist - optimised (shouldComponentUpdate) + see props, max 2 lines are rendered at the same time. There is a clean unmount of the lines not in the field of view. Only…
3
votes
2 answers

"You may need an additional loader to handle the result of these loaders" (React Native)

I am working on a Bare React Native audio player hybrid(web and android) app with a TypeScript template. After I implemented expo-av and tried to compile it on the web I got this: Failed to compile. ./node_modules/expo-av/build/Audio/Recording.js…
Velislav
  • 27
  • 1
  • 1
  • 6
3
votes
0 answers

Sound doesn't play on built standalone version of Expo app (iOS and Android) using expo-av

When testing it through Expo app on phones and simulator, everything works perfectly. The problem is when I build the app and test it on an Android device or in iOS simulator, the sound doesn't play. import { Audio } from 'expo-av'; const…
GrgaMrga
  • 460
  • 5
  • 13
2
votes
1 answer

How to handle internet disconnection when loading an expo-av video component

I have a simple reactnative component, which has the expo-av video element on it. I'm having an issue were if the network is disconnected when attempting to play the video and then when the internet connection returns, it does not resume playing the…
Dean Van Greunen
  • 5,060
  • 2
  • 14
  • 28
2
votes
2 answers

When the app made with Expo is open on, it does not go to sleep mode, it stays open all the time

I uploaded the app to the appstore. According to the feedback I get, the screen stays on all the time. How can I solve this problem? I wondered if the screen stays on because the devclient is open. But if I'm not mistaken, the applications we…
2
votes
1 answer

Expo AV Audio not audible on ios

Hi everyone I am using Expo AV to play sounds in my React Native (Expo-managed) app, the audio plays well and audibly on android but it doesn't play loudly and audibly on ios, and apple also rejected the app on App Store because of this they…
Paulos Ab
  • 319
  • 4
  • 16
2
votes
0 answers

__DEV__ is not defined running expo av video on react project

Im' trying to display a video using expo-av video everything fine when i use html video i have then install expo-av and expo-av-modules and when i go back to my localhost front end it show a white page with this error message Uncaught…
2
votes
1 answer

Expo-AV Audio crashing on Android on play

So I'm fairly new to using EXPO and building apps. I've been tasked to add a media player to a client's app and the setup I have currently works fine on iOS on both physical and emulator devices but when the play action is issued, the app crashes on…
2
votes
0 answers

Why expo-av is making my android react-native app laggy?

I'm using expo-av to render a list of videos (like Tiktok home screen style), it works fine on IOS but on Android is lagging. I've tried also react-native-android-video but I faced a lot of configuration problems. Have a look to my code, if you can…
Rihab
  • 21
  • 1
2
votes
0 answers

Expo-AV wait until audio finished playing

I've been trying to fix this for over a week now and I just can't solve it. I want to be able to map through an array of data that has a link for an audio file, and play each audio after another. The way I have it in my code now just plays all…
ashketchup
  • 21
  • 5
1
2
3
11 12