Skip to content

Latest commit

 

History

History
40 lines (23 loc) · 1.11 KB

README.md

File metadata and controls

40 lines (23 loc) · 1.11 KB

Music App

Looking for music?

Start listening to the best new releases.

gif

Expo AV

The Audio.Sound objects and Video components share a unified imperative API for media playback.

Installation

$ expo install expo-av

Usage

import { Audio, Video } from 'expo-av';

APIs Feature

• 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 })

See more

Contributions

Any feature requests and pull requests are welcome!

License

Image assets via Spotify

Sound tracks via Soundhelix

MIT license