Closed
Bug 507672
Opened 15 years ago
Closed 7 years ago
Gapless playback of multiple <audio> tags?
Categories
(Core :: Audio/Video: Playback, enhancement)
Tracking
()
RESOLVED
INACTIVE
People
(Reporter: dholth, Unassigned)
References
Details
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.1) Gecko/20090715 Firefox/3.5.1 (.NET CLR 3.5.30729)
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.1) Gecko/20090715 Firefox/3.5.1 (.NET CLR 3.5.30729)
I would like to be able to play several <audio> tags on a web page by calling the .play() method on one after the 'ended' event on another is fired. This causes very small gaps in playback.
Reproducible: Always
Updated•15 years ago
|
Component: General → Video/Audio
Product: Firefox → Core
QA Contact: general → video.audio
Version: unspecified → Trunk
Reporter | ||
Comment 1•15 years ago
|
||
If gapless <audio> playback was possible then you could implement the following in the browser: http://tools.ietf.org/html/draft-pantos-http-live-streaming-01#page-11
Reporter | ||
Comment 3•15 years ago
|
||
http://dingoskidneys.com/~dholth/gapful/
Expected: beautiful music
Actual: gaps in the music
No, I can't do any better by rearranging the JavaScript that plays the next section of the music. In Flash, gapless playback is approximated but never truly achieved by setting a high resolution timer to check when the sound is over.
I want to implement a player with excellent seeking by splitting audio into many small bits, but I can't do it in HTML.
I only have a very short gap after the first ogg, the others are 100% smooth.
Tested on firefox 3.5.5/Gentoo Linux.
Reporter | ||
Comment 6•15 years ago
|
||
Craig, unfortunately that's just luck. Without a way to say 'this audio must come exactly after that one' there will always be some number of missed (or, in Chrome, overlapping!) samples between sound clips.
Comment 7•11 years ago
|
||
This would be really nice for the Firefox OS music player. Maybe we can prioritize it for the 1.4 time frame?
I looked at the Web Audio API, and unfortunately, there doesn't seem to be an easy way to handle this there, either. This might be a good opportunity for me to start hacking on the Gecko media code, provided I can find someone to help me get started.
blocking-b2g: --- → 1.4?
Comment 8•11 years ago
|
||
Not a committed feature for 1.4, so clearing nom. If you want this prioritized in a team's backlog, then feel free to email the product team with the feature request.
blocking-b2g: 1.4? → ---
Updated•9 years ago
|
Component: Audio/Video → Audio/Video: Playback
Comment 9•7 years ago
|
||
Mass closing do to inactivity.
Feel free to re-open if still needed.
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → INACTIVE
You need to log in
before you can comment on or make changes to this bug.
Description
•