About 51 results
Open links in new tab
  1. html - How to play a mp3 using Javascript? - Stack Overflow

    Jul 4, 2012 · 0 Assuming that the browser supports MP3 playback and is fairly new to support newer JavaScript features, I would suggest taking a look at jPlayer. You can see a short demo tutorial on …

  2. html - Playing MP3 Stream in JavaScript - Stack Overflow

    Mar 10, 2025 · I have a POST endpoint that returns an MP3 stream, and I want to play it in JavaScript using the native browser fetch API. The goal is to implement a cross-browser solution, but so far, …

  3. javascript - HTML5 Audio to play a playlist of local mp3 files - Stack ...

    May 24, 2017 · It's a fun project for creating a player in browser. I know I can select multiple files from file input, but how to add those file to the playlist?

  4. javascript - How to design customized audio player with HTML - Stack ...

    May 26, 2016 · Using (mostly) basic HTML and CSS, with some light Javascript event handling is all that's required. This solution a fully-functional custom audio player based on the design provided.

  5. javascript - How to play audio? - Stack Overflow

    I am making a game with HTML5 and JavaScript. How could I play game audio via JavaScript?

  6. Using local file for Web Audio API in Javascript - Stack Overflow

    I'm trying to get sound working on my iPhone game using the Web Audio API. The problem is that this app is entirely client side. I want to store my mp3s in a local folder (and without being user in...

  7. javascript - mp3 player in HTML website - Stack Overflow

    In general, to play the audio file there are two main ways which are to use a premade flash object (or make it your self if you have actionscript skills) or use the HTML5 audio tag and javascript controls. If …

  8. HTML Music Player - Absolute file location (i.e. C:\song.mp3)

    Mar 18, 2014 · Good morning, I have put together a music player using modified examples on SO. My player plays songs fine if the file is located within the website's directory, however I wish to change it …

  9. javascript - Controlling audio speed of a mp3 file - Stack Overflow

    May 12, 2014 · I would like to play a mp3 soundtrack on my website, and manipulate the speed of the soundtrack by a percentage using a slider. I'm wondering how this could be done with only HTML(5) …

  10. how to get audio.duration value by a function - Stack Overflow

    Jan 7, 2016 · Im my audio player I need to get the duration of my audio track. I need a function that gets src of the audio and returns its duration. Here is what I am trying to do but does not work: function