Skip to content

Latest commit

 

History

History
51 lines (34 loc) · 1.32 KB

README.md

File metadata and controls

51 lines (34 loc) · 1.32 KB

"Easy Audio Player"

English | 中文

Introduction

Easy Audio Player is a simple audio player that supports Vue 3 and React.

View

Installation

Vue 3

# Using npm
npm install @hekeh/easy-audio-player-vue

# Using yarn
yarn add @hekeh/easy-audio-player-vue

# Using pnpm
pnpm add @hekeh/easy-audio-player-vue

React

# Using npm
npm install @hekeh/easy-audio-player-react

# Using yarn
yarn add @hekeh/easy-audio-player-react

# Using pnpm
pnpm add @hekeh/easy-audio-player-react

Parameters

Parameter Description Type Required Default
url Audio URL string Yes -
options Configuration options AudioPlayerOptions No See options configuration

Options Configuration

Parameter Description Type Default
stopOthersOnPlay Stop other audio players when playing boolean true
showDownloadButton Show download button boolean true