Capturing video and images from Hype created HTML5 Doc


(Nick ) #1

Did you know that you can use the getUserMedia() API in an HTML widget in your Hype creation to capture video and still images and audio.
Note: for Apple it only works on the mobile iOS. Chrome on the desktop should work fine.
my quick learning:
http://www.gressle.com/camera/cameratest.html

Attached is a über simple Hype doc that will get you started. And below are some tutorials on the HTML5 implementation of getUserMedia to make something much much better.

video capture.hype.zip (33.0 KB)

http://blog.teamtreehouse.com/accessing-the-device-camera-with-getusermedia

http://html5hub.com/using-the-getusermedia-api-with-the-html5-video-and-canvas-elements/

http://www.html5rocks.com/en/tutorials/getusermedia/intro/


Scanning a QR Code
Open camera javascript
Create a camera module in Hype for a webapp