3,606 questions
0
votes
0
answers
40
views
Audio captions are not displaying despite switching to SRT
I've been attempting to create captions for my audio. After a lot of searching, it seems srt is best for audio transcripts. After trying that and WebVTT, it's still not showing up. I'm not sure what ...
0
votes
2
answers
46
views
React Music Player – audioRef.play() not triggered when track changes
I’m building a simple music player in React that uses the HTMLAudioElement via audioRef. I expect the track to auto-play whenever I change currentTrack, but playback doesn’t start (though the UI ...
0
votes
0
answers
34
views
Safari cannot set playbackRate of audio source when work with MediaElementAudioSourceNode
I write a frontend tool to enhance the audio quality using WASM, but the speed control not work in safari only, Chrome and Firefox is ok. here is my mainly code
// main.ts
// Interfaces and Wasm ...
0
votes
0
answers
46
views
how to play audio in an html5 page when opened in android facebook webview?
I have an html5 application that uses three.js library for some 3d wireframe graphics
and a background music (mp3).
The page works perfectly in chrome.
But If I send to to someone on facebook and they ...
0
votes
1
answer
40
views
HTML5 Twitching Audio Progress Bar in Safari/Orion, Smooth in Chrome/Firefox
Problem:
About half a second after audio playback starts (in Safari and Orion), the progress bar "twitches", jumping back towards the start momentarily before continuing to progress. The ...
0
votes
0
answers
93
views
How to wait for can-play event for playing media
I have a global <MediaPlayer /> in my footer (AppFooter), and songs are played from individual song items in a list.
When I click a play button in the list item, I sometimes get this runtime ...
1
vote
1
answer
48
views
Audio doesn’t stop playing using <audio> tag in HTML5
I have this HTML code right now that automatically plays an audio after a set period of time:
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8"&...
0
votes
0
answers
43
views
Script in html/js for audio fade and crossfade on iPhone
I created an html file with a javascprit script that allows you to do fade operations between two audio files. The files are played in two players, Player1 and Player2 respectively. On PC/Mac it works ...
4
votes
1
answer
669
views
iOS Safari switches audio output to speakers when starting microphone recording with getUserMedia()
We have a flow in our app where we allow someone to be speaking (microphone) to a bot and the bot is talking back via audio.
It works fine when there is only one device, but if the user wants to use ...
0
votes
0
answers
74
views
Wavesurfer regions plugin as loop not working
I’m trying to create a visible loop using the Wavesurfer library. I’m using it with a MediaElement, and the entire audio control is handled through the Web Audio API. I’ve been struggling with this ...
-4
votes
1
answer
83
views
Why Click event does not work in audio tag [duplicate]
I want to fire a function name shake dots when clicked in audio apparently it does not fire here is the code
<div class="lyric-word">
<span class="sho"...
1
vote
2
answers
90
views
How to use an HTMLAudioElement controls to play the content of an AudioBuffer?
Considering the requirement of this function signature:
function initPlayer(player: HTMLAudioElement, buffer: AudioBuffer): void;
I'm looking for a way to control the AudioBuffer playback using the ...
0
votes
1
answer
88
views
Audio tag html doesn't play sound when clicked on IOS
I'm in Blazor server and when I click on my audio tag, it doesn't play any sound. But when I click it on Android or on Windows PC, it works well.
This is my code:
@if (Question.Parcours.Type == ...
1
vote
1
answer
112
views
Loading Audio Text Tracks programmatically
From the WebVTT API docs
A text track and cues can be defined in a file using the WebVTT File
Format, and then associated with a particular <video> element using
the <track> element.
...
0
votes
1
answer
40
views
Audio playing onload and not onclick (involves webpack)
I'm making a note sequencer web application and I am currently trying to implement the function of playing a note on pressing a button corresponding to the note. I am currently using a test sound to ...
1
vote
0
answers
48
views
Audio Not Playing in Mobile Chrome at 100% Volume, but Works at 99%
In mobile Chrome, I'm experiencing an issue where audio does not play through headphones when the volume is set to 100%. The sound is playing but is not outputting to the headphones. However, if I ...
0
votes
0
answers
20
views
How capture esc keydown event while audio element captures it [duplicate]
As you can see in this demo
<audio controls src="/media/cc0-audio/t-rex-roar.mp3"></audio>
When you click on the play button and then hit the escape key, the audio elements ...
0
votes
0
answers
85
views
How to wait for media element source to actually update with Async/Await?
I am using vanilla JS, webaudioAPI and canvas elements to create an audio visualizer.
When I update the audio element src with javascript, I need the audio element duration property to update two ...
1
vote
5
answers
185
views
Disable `audio` html tag
I have an html audio tag in my project, which in some situation I need to disable.
In order to do it I apply the following css by adding disabled class to the audio tag:
audio.disabled {
pointer-...
1
vote
1
answer
266
views
Fast loading of audio WaveSurfer and PeakJs
I have this implementation where the backend strams audio files. And I want an approach that enables fast loading and playing of the audio file : Everything works as intended but there seem to be ...
2
votes
0
answers
64
views
How to achieve both exact timestamps and pitch preservation when changing playback speed in web audio?
I’m working on a web app where I need to load audio with two key requirements:
Exact timestamp alignment: I need precise control over timestamps for synchronization and tracking purposes.
Pitch ...
1
vote
1
answer
110
views
HTML5 Audio player in R Shiny app goes to beginning of track when setting currentTime
I have created an audio player using R shiny which creates an audio player like this:
tags$audio(
src = "song.mp3",
type = "audio/mp3",
controls = "controls&...
0
votes
1
answer
178
views
How to convert each audio stream chunk to mp3 or wav or webm? Audio is not playing for all chunks except first one
I have an usecase where each chunk of audio stream is being sent to server for transcription, but except first chunk every other audio chunk(blob) are not working.
So I did a small prototype to see if ...
1
vote
0
answers
92
views
How can I play Widevine encrypted audio in the browser?
I already have everything set up (license, server certificate, media keys, all of that)
I just want to load the entire file into an audio element and have it work.
I can barely even find any ...
-1
votes
1
answer
150
views
Exception has occurred. FlutterError (Unable to load asset: "assets/assets/audio/ontheroad.mp3". The asset does not exist or has empty data.)
why am i havng this error Exception has occurred. FlutterError (Unable to load asset: "assets/assets/audio/ontheroad.mp3". The asset does not exist or has empty data.)
import 'package:...