Skip to content

an audio player component with process bar and process tip

License

Notifications You must be signed in to change notification settings

flyingant/react-tiny-audio-player

Repository files navigation

react-tiny-audio-player

react-tiny-audio-player is an audio player component with process bar and process tip
based on the HTML 5 Audio Tag

Preview

Installation

npm install react-tiny-audio-player --save

Usage

import React, { Component } from 'react';
import ReactDOM from 'react-dom';
import TinyAudioPlayer from 'react-tiny-audio-player';

ReactDOM.render(<TinyAudioPlayer
    name='Metallica - Enter Sandman'
    source='https://upload.wikimedia.org/wikipedia/en/3/39/Metallica_-_Enter_Sandman.ogg'
    />, document.getElementById('root'));

Tips

You may need to customize the style for audio player or copy the style.css to your project,

Development

npm install
npm start

About

an audio player component with process bar and process tip

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages