Skip to content

Latest commit

 

History

History
24 lines (13 loc) · 1.1 KB

File metadata and controls

24 lines (13 loc) · 1.1 KB

HTML5 getUserMedia Experiments

These files are collected examples of using the getUserMedia JavaScript API (the HTML5 Device API replacement), they're a playground for me to experiment with jquery mobile.

While I don't intend to commit broken code the examples here are very much work in progress and may be (very!) untidy.

Requirements

These demos currently require functionality not implemented in any mainstream mobile browser. There is a special build of opera mobile for android available at http://people.opera.com/richt/release/build/Opera_Mobile_11_LABS_device_orientation_preview_20110323.apk which is required to run the code found here.

Files

index.html

An index page

basic.html

Currently a basic camera application based on a few sources including http://my.opera.com/core/blog/2011/03/23/webcam-orientation-preview and http://www.sanraul.com/2009/12/17/using-html5-canvas-to-capture-frames-from-a-video/

upload.php

A simple php script to receive images posted to it and save them as wow.png in the root folder. The web server needs write access to the folder for this to work.