According to the Mozilla's WebAudio API Rollout, WebAudio should be available in the Firefox 25.0.1. Yet, I cannot get createMediaElementSource
to work on Firefox but it works fine in Chrome. Here is simplified version of the code:
var context = new AudioContext();
var el = document.getElementById('audio');
// Breaks in Firefox. Remove these 2 lines and audio plays in Firefox
var sourceNode = context.createMediaElementSource(el);
sourceNode.connect(context.destination);
Here is a JSFiddle:
http://jsfiddle.net/marcoslin/Jb4LN/
If you hit play in the Fiddle result using Chrome, the audio plays. The music does not start in Firefox.
Here is a similar question without answer.