sommersa / jpegcam

Automatically exported from code.google.com/p/jpegcam
GNU Lesser General Public License v3.0
0 stars 0 forks source link

Error calling method on NPObject! #30

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Put Jpegcam into a PHP application
2. Try to use it (with firebug active)

I CAN use Jpegcam by copying the downloadable example to /var/www/somedir; it 
also saves the file.
In my application I can see the flash working (I see a picture of me from the 
webcam)
Here you can find the html page (as generated by my php application): 
http://pastebin.com/nbvumNQi as you can see is almost the same as the working 
example.
When I click "Take Snapshot" it appears the write "Uploading.." but I get the 
error in firebug console.

What is the expected output? What do you see instead?
- Expected: normal saving operation
- I got: "Error calling method on NPObject!" in firebug console, and it doesn't 
save the file

What version of the product are you using? On what operating system?
Jpegcam 1.0.9
Firefox 4.0.1
Flash 10.3
Ubuntu 11.04 (natty)

Original issue reported on code.google.com by attilioa...@gmail.com on 25 May 2011 at 3:34

Attachments:

GoogleCodeExporter commented 9 years ago
I solved the problem.

*APPARENTLY* something was crashing because in my script I had 
"webcam.set_shutter_sound( true );" while I intentionally omitted copying the 
mp3 file (because I didn't mean to use it).

I think you should add some security check to see if the file actually exists.

Original comment by attilioa...@gmail.com on 25 May 2011 at 4:33

GoogleCodeExporter commented 9 years ago
It's strange: I get the error if shuttersound = true; I get no error if 
shuttersound = false. What should I do?

Original comment by attilioa...@gmail.com on 10 Jun 2011 at 1:11

GoogleCodeExporter commented 9 years ago
Thx , very helpful for me :)

Original comment by faerulsa...@gmail.com on 4 Jul 2014 at 4:21