infusion / jQuery-webcam

A webcam wrapper plugin for jQuery
http://www.xarg.org/project/jquery-webcam-plugin/
517 stars 272 forks source link

allowScriptAccess #2

Closed akdetrick closed 13 years ago

akdetrick commented 13 years ago

Although the security settings are set up in the actionscript to allow script access from any domain, I found that adding the allowScriptAccess param to the flash object was the only way I was able to use the flash-javascript interface. Prior to adding it, the capture method was never accessible from javascript, and the _register function would die before actually defining the public api and calling the load callback.

I might be missing something, but wanted to suggest the fix.

infusion commented 13 years ago

Hi, thanks for the hint on allowScriptAccess, I merged it into my tree. I think I forgot to add it again when I developed the lib.