Search code examples
javascriptwindows-store-appswindows-8.1winjs

Windows 8 store app capture video/photo without the special UI


I'm wondering if there is a way to capture photos/videos without leaving our app (and get the message "is this application allowed to..."). I'd like to have the camera view directly in my app.

Cheers,


Solution

  • Yes there is, take a look at the MediaCapture class. In fact, that's the only way of doing it in Windows Phone (8.1).

    With that you can have a video element in one of your pages and stream directly what's being seen by the camera.

    I recently pushed the first version of an example we're putting together on codeShow(), take a look and feel free to fork and collaborate.