
Research
Security News
Malicious PyPI Package Exploits Deezer API for Coordinated Music Piracy
Socket researchers uncovered a malicious PyPI package exploiting Deezer’s API to enable coordinated music piracy through API abuse and C2 server control.
apm-react-audio-player
Advanced tools
This is a light react audio player that is wrapped around a HTML5 audio tag, created for use on American Public Media and Minnesota Public Radio's websites.
This is a light react audio player that is wrapped around a HTML5 audio tag, created for use on American Public Media and Minnesota Public Radio's websites.
The library was designed to add a audio player to a body of a story which will not trigger the static audio player.
[License] (#License)
As of version 1.0.0, this library has no dependencies for usage.
There are several ways to install APM Player on your site.
npm install apm-react-audio-player
or to use yarn:
yarn add apm-react-audio-player
The easiest way to include this in modern javascript, assuming you are using something like and Babel, is to use an import
statement.
The library uses named exports for all modules.
To import the player module:
import { ReactAudioPlayer } from 'apm-react-audio-player';
See the audio tag documentation for detailed explanations of these attributes.
Prop | Type | Default | Notes |
---|---|---|---|
title | String | empty string | --- |
description | String | empty string | --- |
url | String | empty string | --- |
customStyles | Object | --- | --- |
forwardBackward | Boolean | false | --- |
class Example extends Component {
const url='example.mp3'
const audioStyles = {
audioPlayer: {
width: '1200px',
backgroundColor: 'lightBlue'
},
playPause: {
background: 'blue'
},
duration: {
color: '#26c9c3'
}
};
render() {
return (
<ReactAudioPlayer
title={'title'}
description={'description'}
audioSrc={url}
audioStyles={audioStyles}
forwardBackward={true}
/>
)
}
}
MIT © Phanx091
FAQs
This is a light react audio player that is wrapped around a HTML5 audio tag, created for use on American Public Media and Minnesota Public Radio's websites.
The npm package apm-react-audio-player receives a total of 16 weekly downloads. As such, apm-react-audio-player popularity was classified as not popular.
We found that apm-react-audio-player demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers 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
Socket researchers uncovered a malicious PyPI package exploiting Deezer’s API to enable coordinated music piracy through API abuse and C2 server control.
Research
The Socket Research Team discovered a malicious npm package, '@ton-wallet/create', stealing cryptocurrency wallet keys from developers and users in the TON ecosystem.
Security News
Newly introduced telemetry in devenv 1.4 sparked a backlash over privacy concerns, leading to the removal of its AI-powered feature after strong community pushback.