Questions tagged [expo-av]
173 questions
0
votes
1 answer
Expo : Cannot load an AV asset from a null playback source
Hi I was trying to use Expo-AV but keep getting the warning
[Unhandled promise rejection: Error: Cannot load an AV asset from a null playback source]
When the sound play function first called it show this warning and dosen't plays but after it when…

Robbi
- 151
- 2
- 6
- 14
0
votes
0 answers
react-native AutoPlay on scroll
import { ResizeMode, Video } from 'expo-av';
import { ControlsOverLay } from './controlsOverLay';
return (
<>
0
votes
1 answer
Expo-AV Sound.playAsync() doesn't work with expo-av 9.2.3 and Expo 42.0.3
Summary
Context: I'm trying to make a timer app with React Native, Expo, and Expo-AV.
I'm initialising a stock app with Managed workflow and trying to play an mp3 file using expo-av (9.2.3). I saw another issue where no sound was playing on Moto G5,…

Madhav Malhotra
- 385
- 1
- 5
- 17
0
votes
1 answer
Start playing a video at a time offset using expo-av on web
My goal is to start playing a video at a selected time offset. I am using the video component from expo-av since I want it to run on both web and device. It seems pretty straight forward by using the positionMillis props. This works well when I test…

mike
- 113
- 1
- 6
0
votes
1 answer
Expo-AV play audios after another
I'm using Expo-AV and I'm trying to find a simple way to play 3 audio files after another.
I can't find anything online, does anyone have experience with Expo-AV?
Much appreciated.
0
votes
0 answers
Expo-AV play multiple audios after one another
I have a pretty specific question.
So I'm currently using Expo-AV to play my audios, and it works. My issue is that I can't seem to queue them after another.
So for example:
let sounds = ["../songs/song1.mp3", "../songs/song2.mp3",…
0
votes
0 answers
Pulling HLS stream using expo-av generates -1008 error
using
import { Video } from "expo-av";
to embed a video player
I generate HLS url with digest that works fine with VLC player (for testing)
when implementing it in I log the following error on iOS when video.status changes:
Object {
"error": "The…

Kamal Agbaria
- 1
- 1
0
votes
1 answer
ExponentAV: Player is accessed on the wrong thread
I am noticing some issues with Expo-AV after updating to SDK 45. I am using react-native with an expo managed project.
I am receiving this error when trying to pause the sound using sound.pauseAsync() :
[Unhandled promise rejection: Error:…

igotbeatebydre
- 81
- 8
0
votes
0 answers
Play vimeo in expo-av
Learning app and i want to play the video's with expo-av
All our videos are on vimeo but i cant get it to work in expo-av
when i past the link in the source it's not working.
so what i have done is installed webview and did this

Sander van Maastricht
- 319
- 2
- 9
0
votes
1 answer
Expo Audio: "update on an unmounted component" even using useEffect() cleanup function
Expo documentation states that the Audio.Sound component should be unmounted by an useEffect-hook returning the cleanup function.
const [sound] = useState(new Audio.Sound());
React.useEffect(() => {
return sound
? () => {
…

Niklas Dada
- 311
- 4
- 17
0
votes
1 answer
Play a sound frequently in React Native App
I'm working on a React Native App. I need to play a beep every 500ms. I already have a mp3 file to play and can it play on click. But after clicking the button a few times, it breaks. I used the example code from expo av. I used the snack from…

Enter name here
- 67
- 1
- 8
0
votes
1 answer
Prevent expo Video from resizing when double tapping
I'm using expo-av to play my videos on my react native app.
I have a like system. But when I double tap on my video, it just changes its size.
0
votes
1 answer
Java or Kotlin file `MainApplication.java` does not include package declaration
I was trying to install expo-av into a non-expo react-native project. After installing react-native-unimodules and adjusting the android/app/build.gradle file, I am not able to build the android app anymore.
This is the main error I get:
The…

ofundefined
- 2,692
- 2
- 18
- 35
0
votes
0 answers
How to create snack.expo audio player
I am currently working on a snack.expo music app using expo-av. I am have trouble with the sound playing part.
Working
swipe for next/prev song(only changes image, name, artist)
use next/prev button(only changes image, name, artist)
Playing correct…

D99
- 84
- 6
0
votes
1 answer
React Native expo-av video being retrieved from server by uri, working on android but returning black screen on iOS
this is my first question so excuse any errors in formatting this:
I'm running a django backend on PythonAnywhere and I store videos in a media file there. Inside a screen I am trying to show one of these videos: