How can you play a recorded audio blob on the client side using howler.js?

Viewed 1452

The purpose is to record an audio file on the client and play it using the blob URL without using an HTTP GET.

The logic I have looks something like this:

var blob = "blob:null/5fa0fa6d-0b2a-4be6-a762-c81e4bf88f0d";
var url = (window.URL || window.webkitURL ).createObjectURL(blob);
var sound = new Howl({
  src: [url]
});
sound.play();

1 Answers
Related