'Security error" code: "1000' in Audio API example
I'm trying to repeat the example from here, but am getting this error:
Security error" code: "1000
var fb = event.frameBuffer,
Everything in my folder have 777 rights, but it's still is giving me it. My Firefox version is开发者_如何学Go 4.0, so Audio API features should be available. What could be the problem? I've copied the example without any change. Any suggestion would help, thank you.
You have to make sure your audio and web page are same origin, and if you're doing this from a file:/// URI, you have to tell Firefox to not force origin checks, see our note here: https://wiki.mozilla.org/Audio_Data_API#Security
精彩评论