Skip to content

phucprime/music

Repository files navigation

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

Releases

No releases published

Packages

No packages published