accessing the camera in a windows 8 metro style app using html and javascript

Post on 24-May-2015

2.334 Views

Category:

Technology

1 Downloads

Preview:

Click to see full reader

DESCRIPTION

This short screencast will show you how to access the Camera in your own Windows 8 Metro Style App using HTML and JavaScript. We do this in a fun, immersive way utilizing the free MetroGameKit (http://metrogamekit.codeplex.com). Fore more videos check out http://blogs.msdn.com/davedev

TRANSCRIPT

Accessing the Camera in a Windows 8 Metro Style App using HTML and JavaScript

Dave IsbitskiTechnology Evangelist, Windows 8twitter.com/TheDaveDevblogs.msdn/com/davedevdavid.isbitski@microsoft.com

metrogamekit.codeplex.com

Capturing a PhotoStep 1: Assign HTML ElementimgPlayer

Step 2: CameraCaptureUIWindows.Media.Capture.CameraCaptureUI, CameraCaptureUIMode.photo

Step 3 : Assign the resultCropping, URL.createObjectURL(file)

Capturing a VideoStep 1: Assign HTML ElementimgPlayer

Step 2: CameraCaptureUIWindows.Media.Capture.CameraCaptureUI, CameraCaptureUIMode.video

Step 3 : Assign the resultCropping, URL.createObjectURL(file)

For more Windows 8 Developer content, please visit the Windows Developer center

twitter.com/thedavedev | david.isbitski@microsoft.com

http://dev.windows.com

top related