blackberry-webworks / BB10-Webworks-API

An api repository for webworks
6 stars 1 forks source link

As a WebWorks developer, I would like to be able to take a video from camera inline my app using eg. navigator.webkitGetUserMedia. #40

Closed RonMen closed 11 years ago

RonMen commented 11 years ago

With the blackberry.media.camera.takeVideo(onCaptured, [onCameraClosed], [onError]) it would be possible to open up the camera and take a video, get the return-path of the video and do something with it.

For BB10 I would request for a feature like the navigator.webkitGetUserMedia to access the camera directly to take eg. take a snapshot as a picture or to take a video of what can be seen from the camera. In that way you can think of a bunch new apps - eg. snapshots to upload somewhere (FB, Twitter, ...) or send via mail directly, 1D/2D Code Reader, face detection, ... - that could be written based on WebWorks.

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

nukulb commented 11 years ago

Can you open this issue here - https://github.com/blackberry/BB10-WebWorks-Framework/issues?state=open working on killing this repo and just having everything in the Framework repo.