
Security News
The Changelog Podcast: Practical Steps to Stay Safe on npm
Learn the essential steps every developer should take to stay secure on npm and reduce exposure to supply chain attacks.
react-native-simple-audio-player
Advanced tools
simple audio player package for react native with all required controls
simple audio player for react native with all required controls
still in beta version, adding more costomization and documentation soon :rocket: :beers:
$ npm i react-native-simple-audio-player --save
You'll also need react-native-video (to use controls and audio playback) and slider (for audio seekbar) package, you can install these like,
$ npm i react-native-video --save
$ npm install @react-native-community/slider --save
Import the package
import {AudioPlayer} from 'react-native-simple-audio-player';
This package is still under construction and beta mode, You can still use this by passing your Audio URL to AudioPlayer component. Feel free to drop suggestions and improvements

import React from 'react';
import {View} from 'react-native';
import {AudioPlayer} from 'react-native-simple-audio-player';
const App = () => {
return (
<View
style={{
flex: 1,
backgroundColor: '#313131',
justifyContent: 'center',
}}>
<AudioPlayer
url={'https://www.soundhelix.com/examples/mp3/SoundHelix-Song-1.mp3'}
/>
</View>
);
};
export default App;
urlAudio file url.
| Type | Required |
|---|---|
| string | yes |
Adding more costomization and documentation soon :rocket: :beers:
FAQs
simple audio player package for react native with all required controls
We found that react-native-simple-audio-player demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Learn the essential steps every developer should take to stay secure on npm and reduce exposure to supply chain attacks.

Security News
Experts push back on new claims about AI-driven ransomware, warning that hype and sponsored research are distorting how the threat is understood.

Security News
Ruby's creator Matz assumes control of RubyGems and Bundler repositories while former maintainers agree to step back and transfer all rights to end the dispute.