ProfZijlstra / video_site

MIT License
3 stars 1 forks source link

Open Camera in addition to Upload Image #14

Closed ProfZijlstra closed 2 months ago

ProfZijlstra commented 1 year 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

ProfZijlstra commented 2 months ago

Latest commit implements this for the quiz subsystem.

Now I just need to add it to the lab subsystem

ProfZijlstra commented 2 months ago

Completed with the latest commit