Our great sponsors
-
AmplitudeJS
AmplitudeJS: Open Source HTML5 Web Audio Library. Design your web audio player, the way you want. No dependencies required.
-
SurveyJS
Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.
the name of the file is play.js, just open this file and understand the code and then open this HTML template file coz, this is other part of puzzle.
Django music player is no sweat. Here's my personal site's music section, this is just Django, vanilla JS, and an audio library called Amplitude.js:
Merry Christmas. Can you check out my JS code snippet at GitHub? I kind of figured out play and pause, but skipping to next and going back to previous song is not working. If I hard code the index of the song, it works. But back and forward buttons with addEventListener(), it is not working- not going back and forward. Can you please see what I'm doing wrong? Any help will be greatly appreciated. Thank you very much. Once again, Merry Christmas.