All Questions
Tagged with audio-player jquery
58
questions
0
votes
2
answers
27
views
how to update a range of html using jquery?
I am making a music player and thus wants that as song plays, the progress bar gets modify accordingly using jquery. But my progress bar isnt getting updated.
let myProgressBar = $('#myProgressBar');
...
-1
votes
1
answer
180
views
How to play blob audio in html audio player using PHP?
I am saving blob audio in the mysql database as a blob. the format of the audio file is like this
blob:abc.com/4b67d486-61e9-4db7-afbe-b693a34ea758
Its saving in the database blob format like this
...
-1
votes
1
answer
475
views
Reading audio/mp3 file from GCP bucket throws blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present
I'm trying to create a audio player using js and flask. The audio files are retreived from a GCP bucket and audio files have Public Access. But when I try to play the audio it throws,
Access to audio ...
0
votes
2
answers
458
views
I can't convert .duration or .currentTime to MM:SS in java script
since I don't know JavaScript I downloaded an audio player and changed the html and CSS but the audio player shows audio duration in seconds and; I tried to look for results in google but that did not ...
0
votes
1
answer
490
views
jQuery Audio Player - Uncaught (in promise) DOMException: Failed to load because no supported source was found
For a language learning site, I created my own audio player.
On a page, there are always a few player buttons, each one is meant to play the sound corresponding to a specific example.
The problem is ...
0
votes
2
answers
1k
views
how can i show media controls for my music player website in the notification tray using javascript/Jquery?
As you know from the title that I want to customize the notification for my music player website. default chrome notification only contains play/pause button.
is there any way I can customize it to ...
0
votes
2
answers
68
views
Why mp3url variable is not consoling after clicking the jQuery event
I would like to display "mp3Url" variable outside of the jquery click event. Actually is it possible or not from below code snippet? I saw many articles but not working.
<script>
var ...
0
votes
1
answer
323
views
JavaScript not preventing the default function for audio player
So I've been following this video, and for the life of me, I cannot figure out why my code is doing the default new page with my audio files and not preventing the default. Once I figure that part out,...
1
vote
0
answers
341
views
How to remove current playlist and add new playlist in jPlayer with jQuery
I have multiple window with multiple artist on each window and one play button. If we click on the play button I play the song using jPlayer skin. Now suppose user is on first screen and clicked play, ...
1
vote
0
answers
40
views
Javascript music player acting weird
I have multiple issues with the following code.
<audio id="player" autoplay loop >
<source id="mp3Source" src="" type="audio/mp3">
</audio>
<script>
var vid = document....
0
votes
1
answer
40
views
Unable to update a jquery script downloaded from github
I'm new to using jQuery.
I'm attempting to setup a local installation of code called 'scm-music-player' which I found on github.. There is a version of the script that works great using the author's ...
2
votes
2
answers
2k
views
Loading/Buffering text while loading audio in html5 custom player with JavaScript
I found a custom html5 audio player and successfully redesigned it, now I want to add a "loading/buffering" text while player is loading audio (otherwise users may freak out because nothing happening ...
0
votes
1
answer
232
views
Audio Pause while typing & play while stop typing
Here is the audio player script which pause and play with "Alt+P" Key Stroke.
https://github.com/jonmbake/jquery-html5-audioplayer
I want to add a textbox and while I am typing I want the audio to ...
0
votes
2
answers
521
views
Safari won't play audio from javascript
I'm having a problem that Safari on the Mac won't play audio on a button click. I know auto-play is disabled, but this is based on user action so I'm really confused. Plays fine in other browsers.
...
1
vote
1
answer
23
views
How can I reduce the number of functions containing marginally different logic?
I'm currently working on a music player using the inbuilt audio API in javascript.
It looks like this:
I have a playlist function which changes the song every time I press the different tabs where ...