
Security News
Opengrep Adds Apex Support and New Rule Controls in Latest Updates
The latest Opengrep releases add Apex scanning, precision rule tuning, and performance gains for open source static code analysis.
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;
url
Audio 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
The npm package react-native-simple-audio-player receives a total of 34 weekly downloads. As such, react-native-simple-audio-player popularity was classified as not popular.
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
The latest Opengrep releases add Apex scanning, precision rule tuning, and performance gains for open source static code analysis.
Security News
npm now supports Trusted Publishing with OIDC, enabling secure package publishing directly from CI/CD workflows without relying on long-lived tokens.
Research
/Security News
A RubyGems malware campaign used 60 malicious packages posing as automation tools to steal credentials from social media and marketing tool users.