Socket
Socket
Sign inDemoInstall

@youri-kane/react-audio-node

Package Overview
Dependencies
4
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @youri-kane/react-audio-node

React wrapper for the HTML5 tag


Version published
Weekly downloads
0
Maintainers
1
Created
Weekly downloads
 

Readme

Source

React Audio Node

Purpose

This package is a React.js wrapper for the audio tag. It is written in typescript.

Install

npx install @youri-kane/react-audio-node

Usage

import { AudioNode } from '@youri-kane/react-audio-node';

const CustomPlayer = () => {
    return <AudioNode 
        muted={true}
        volume={1}
        playState="playing"
        onLoadedMetadata={() => {}}
        onPlayStateChange={() => {}}
        onCurrentTimeChange={() => {}}
        onBufferedChange={() => {}}
        onPlayableStateChange={() => {}}
        source="https://example.com/audio.mp3"
    />
}

Keywords

FAQs

Last updated on 20 Feb 2021

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc