Socket
Socket
Sign inDemoInstall

minimalist-audio-player-ui

Package Overview
Dependencies
20
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    minimalist-audio-player-ui

A minimalist audio player UI built with modern JavaScript.


Version published
Weekly downloads
0
decreased by-100%
Maintainers
1
Install size
8.31 MB
Created
Weekly downloads
 

Readme

Source

minimalist-audio-player-ui

A minimalist audio player UI library for web applications.

Features

  • Simple and lightweight audio player UI.
  • Utilizes Howler.js and WaveSurfer.js for audio playback and visualization.
  • Play/pause functionality with customizable buttons.
  • Styling with SASS for easy customization.

Installation

You can install the library via npm:

npm install minimalist-audio-player-ui

Usage

import { player, waveSurfer } from 'minimalist-audio-player-ui';

// Initialize player and waveform
// Add event listeners for UI controls
// Additional customization as needed

Example

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Minimalist Audio Player UI</title>
    <link rel="stylesheet" href="styles.css"> <!-- Include compiled CSS -->
</head>
<body>
<div id="waveform"></div>
<button id="play">Play</button>
<button id="pause">Pause</button>
<input type="range" id="volume-slider" min="0" max="1" step="0.01" value="1">
<input type="range" id="seek-slider" min="0" max="100" step="0.1" value="0">
<script src="index.js"></script>
</body>
</html>

License

This project is licensed under the MIT License - see th

Keywords

FAQs

Last updated on 17 Apr 2024

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