I\'m trying to encode an mp3 file in base64 format. Then play it through the broswer. It works perfectly on safari and chrome, but not on Firefox.
M
Instead of using readAsBinaryString then base64 encoding. use readAsDataURL which gives you a complete data uri.
readAsBinaryString
readAsDataURL
http://jsfiddle.net/Z9pJ7/2/