Looking for music?
Start listening to the best new releases.
The Audio.Sound objects and Video components share a unified imperative API for media playback.
$ expo install expo-av
import { Audio, Video } from 'expo-av';
• Play media: playbackObject.playAsync()
this is equivalent to playbackObject.setStatusAsync({ shouldPlay: true })
• Play media at a certain time: playbackObject.playFromPositionAsync(millis)
this is equivalent to playbackObject.setStatusAsync({ shouldPlay: true, positionMillis: millis })
• Pause media: playbackObject.pauseAsync()
this is equivalent to playbackObject.setStatusAsync({ shouldPlay: false })
Any feature requests and pull requests are welcome!
Image assets via Spotify
Sound tracks via Soundhelix