I'm having a little trouble implementing this into my app; wondered if anyone could lend me a hand?
Capx is here: https://www.dropbox.com/s/lb3t6wxr7jpzye1/save_canvas.zip
Live demo is here: http://www.angelserver.in/html5/save_canvas/ (This is a functionality-only version by the way! It is ugly as hell.)
First click 'use webcam', then hit the 'snap' button to capture your face in the frame.
Then hit save canvas, which supposedly saves a screenshot between points 1 and 2 (marked on live demo).
Then hit show image, which is supposed to load the resultant screenshot in a new tab, for saving.
Event sheet is below:
What currently happens upon clicking save is a new tab is opened, and a "Not Found. The requested document was not found on this server." error occurs. This would lead me to believe that something is going wrong at the saving stage, but I can't quite figure out what. Where is the .png being saved? This is something that wasn't clear to me when I followed the original example.
Any help would be appreciated to shed some light on this. Thank you.