Security Error Code: 1000 in the API Example

I am trying to repeat the example from here , but I am getting this error:

Security error" code: "1000 var fb = event.frameBuffer, 

Everything in my folder has 777 rights, but it still gives me that. My version is Firefox 4.0, so the Audio API features should be available. What could be the problem? I copied this example without any changes. Any suggestion will help, thanks.

+4
source share
1 answer

You must make sure that your audio and web pages are of the same origin, and if you are doing this from a file: /// URI, you must tell Firefox not to force an origin check, see our note: https: // wiki .mozilla.org / Audio_Data_API # Security

+5
source

All Articles