Closed ProfZijlstra closed 2 months ago
I've done most of the research already, once upload image is finalized it shouldn't be too hard to add.
See resources at: https://developer.mozilla.org/en-US/docs/Web/API/Media_Capture_and_Streams_API/Taking_still_photos#demo https://developer.mozilla.org/en-US/docs/Web/API/MediaDevices/getUserMedia
https://stackoverflow.com/questions/13198131/how-to-save-an-html5-canvas-as-an-image-on-a-server https://stackoverflow.com/questions/1532993/i-have-a-base64-encoded-png-how-do-i-write-the-image-to-a-file-in-php
Latest commit implements this for the quiz subsystem.
Now I just need to add it to the lab subsystem
Completed with the latest commit
I've done most of the research already, once upload image is finalized it shouldn't be too hard to add.
See resources at: https://developer.mozilla.org/en-US/docs/Web/API/Media_Capture_and_Streams_API/Taking_still_photos#demo https://developer.mozilla.org/en-US/docs/Web/API/MediaDevices/getUserMedia
https://stackoverflow.com/questions/13198131/how-to-save-an-html5-canvas-as-an-image-on-a-server https://stackoverflow.com/questions/1532993/i-have-a-base64-encoded-png-how-do-i-write-the-image-to-a-file-in-php