JavaScript & CSS audio

Cool Audio Player In Pure JavaScript

Category: Javascript | August 5, 2016

A pretty cool and easy-to-use audio player built using pure JavaScript and plain HTML/CSS. How to use it: Just add JS and CCS code onto your site: <link rel=”stylesheet” href=”css/main.css”> <script src=”js/main.js”></script> Create a placeholder element for the audio player. <div class=”player-one”></div> Initialize the Audio player and done. initPlayer(‘.player-one’, { audioSrc: ‘songs/1.mp3’, imageSrc: ‘img/1.jpg’, title: ‘Tobu – Roots’,… Read More »