Questions tagged as 'html5-audio'

1
answer

How to make a circle-shaped audio player that calculates the time around you?

So I saw a player on a website: link and wanted to know how I can make a similar one.     
asked by 07.05.2016 / 09:41
1
answer

ionic record audio not back to view

I made an app, to record audio, it opens the native recorder, but does not return the audio to view. .controller('MyCtrl', function ($scope, $cordovaCapture) { $scope.captureAudio = function () { var captureSuccess = function (mediaFiles)...
asked by 14.09.2016 / 20:12
1
answer

mytrack.duration returns NaN

Is this returning NaN, does anyone have a solution? Here is the code: <html> <head> <title>teste</title> <meta charset="utf-8"/> </head> <body> <audio id="mytrack" controls> &...
asked by 28.04.2015 / 23:20
3
answers

HTML 5 audio player with forward / backward

I'm working on an HTML 5 player and I was sadly surprised to try to use the forward / backward feature when I put the cursor in a certain minute of the song (as we do on youtube, for example). <audio id="AudioApresentacao" controls="control...
asked by 03.02.2014 / 14:51
1
answer

How to detect download event in audio and video tags?

I have the following code in a JS file, which I use to detect when someone "plays" or "downloads" audio and video files. $("audio").on("play", function() {...}); # Funciona $("video").on("play", function() {...}); # Funciona $("audio")...
asked by 01.06.2017 / 15:19
1
answer

Enter the FadeOut sound when you click the pause button

How can I make the sound come out in fadeOut when I click the pause button? <script> var sounds = [ "sounds/royksopp.mp3", "sounds/9thwonder.mp3", "sounds/thisbeat.mp3", "sounds/mosdef.mp3",...
asked by 09.10.2017 / 21:18
1
answer

Customize volume player bar html5

Friends, I have an html5 player with all standard controllers. I would like to make a volume controller in that same style: Mycodesofar <audio id="demo" src="http://audio.ibeat.org/content/p1rj1s/p1rj1s_-_rockGuitar.mp3"></audio>&l...
asked by 31.01.2017 / 16:28
1
answer

Site with MP3 audio does not touch the iPhone

I have a site where I play MP3 songs by clicking on PLAY. On the PC it works perfectly, however on the iPhone it does not play. PLAY BUTTON echo "<a href='#' id='tocar-musica'> <input type='hidden' class='nm-musica' value='$con...
asked by 25.05.2015 / 16:24
1
answer

Continuous background audio

I put a background audio on the site with autoplay and loop, but when I went to another page, the audio started playing from the beginning. Looking for the net, I found a JavaScript that captures the elapsed time of the audio, and when I change...
asked by 10.04.2015 / 01:27
1
answer

Cut audio with javascript

I need to cut an audio on the client-side and send the "cut" bytes to the NodeJS. It's possible? How can I implement?     
asked by 25.07.2016 / 17:24