Skip to content

aseduto/PlayingChunkedMP3MediaSourceAPI

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#Playing a chunked MP3 with Media Source Extensions

In this proof of concept (currently only tested and working in Chrome 35+) I've split the mp3 in 25 parts by using the unix split command. The moment the first part is loaded then the playback starts immediately and it loads the second.

When the second part is loaded then it is appended to the SourceBuffer by using the Media Source Extensions API.

Check it out: Demo

There is another implementation that I created a year ago which uses only the Web Audio API. You can find it here.

A lot of thanks to Theo for letting me use his awesome track Breathe In.

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 76.0%
  • HTML 16.3%
  • CSS 7.7%