6
Accessing the Camera in a Windows 8 Metro Style App using HTML and JavaScript Dave Isbitski Technology Evangelist, Windows 8 twitter.com/TheDaveDev blogs.msdn/com/davedev [email protected]

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

Embed Size (px)

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

Citation preview

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

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

Dave IsbitskiTechnology Evangelist, Windows 8twitter.com/TheDaveDevblogs.msdn/com/[email protected]

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

metrogamekit.codeplex.com

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

Capturing a PhotoStep 1: Assign HTML ElementimgPlayer

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

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

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

Capturing a VideoStep 1: Assign HTML ElementimgPlayer

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

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

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

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

twitter.com/thedavedev | [email protected]

http://dev.windows.com

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