
Research
/Security News
Critical Vulnerability in NestJS Devtools: Localhost RCE via Sandbox Escape
A flawed sandbox in @nestjs/devtools-integration lets attackers run code on your machine via CSRF, leading to full Remote Code Execution (RCE).
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 47 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.
Research
/Security News
A flawed sandbox in @nestjs/devtools-integration lets attackers run code on your machine via CSRF, leading to full Remote Code Execution (RCE).
Product
Customize license detection with Socket’s new license overlays: gain control, reduce noise, and handle edge cases with precision.
Product
Socket now supports Rust and Cargo, offering package search for all users and experimental SBOM generation for enterprise projects.