This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
Section: http://whatwg.org/specs/web-apps/current-work/#audio Comment: Media elements should provide a "next" property to gaplessly play back another media object after it has finished. This woud allow proper playback of gapless albums and an in-browser implementation of HTTP Adaptive Bitrate Streaming. Posted from: 209.251.142.125
Agreed, but let's wait til we have good implementation experience on the current API before adding more. Deferring to a future version.
*** Bug 7254 has been marked as a duplicate of this bug. ***
This bug predates the HTML Working Group Decision Policy. If you are satisfied with the resolution of this bug, please change the state of this bug to CLOSED. If you have additional information and would like the editor to reconsider, please reopen this bug. If you would like to escalate the issue to the full HTML Working Group, please add the TrackerRequest keyword to this bug, and suggest title and text for the tracker issue; or you may create a tracker issue yourself, if you are able to do so. For more details, see this document: http://dev.w3.org/html5/decision-policy/decision-policy.html This bug is now being moved to VERIFIED. Please respond within two weeks. If this bug is not closed, reopened or escalated within two weeks, it may be marked as NoReply and will no longer be considered a pending comment.
This bug was cloned to create HTML WG bug 19057.
Are any browser vendors interested in doing something like this?
For the last 3 years at FOMS we have had discussions of gapless playback. Here are some notes from those meetings: * http://www.foms-workshop.org/foms2012/pmwiki.php/Main/CollabBrowserDevs ("smooth playback" in the "Asset loading control" section) * http://www.openmediadevelopers.org/pmwiki.php/Main/OVC2011GaplessPlayback You will note that in 2011 the discussion about gapless playback included also a discussion about playlists. They are intertwined issues.
This would require coordinating the backends of two media elements, which is a bit like MediaController. No one has put in the engineering effort to implement MediaController correctly yet, so I'm a bit skeptical of this. Note that if the containers and codecs of two audio files are the same, you should be able to use Media Source Extensions to play them gaplessly. It should also be possible using the Web Audio API, although possibly only if both files are fully loaded and decoded in advance. Splitting into chunks would help, and make it kind of like the MSE case.
I think people are doing it now by preloading the next media resource in a hidden media element. I can live with that for now.
That doesn't get you gapless playback, but I can live with that too :)
Please file a new issue at https://github.com/whatwg/html/issues/new if there's still interest.