diff --git a/app/scripts/features.js b/app/scripts/features.js index 13e20d32ae..f8bb4875fd 100644 --- a/app/scripts/features.js +++ b/app/scripts/features.js @@ -1031,16 +1031,16 @@ self.addEventListener('fetch', function (event) { description: [`The Image Capture API allows web applications to take pictures from a Web Cam, as well as manipulate the usual parameters such as zoom or focus points.`,], api: `
capturer = ImageCapture(mediaStreamVideoTrack)
-
Creates an ImageCapturer out of the Media Stream Video Track.
+
Creates an image capturer out of the Media Stream Video Track.
capturer.takePhoto()
-
Returns a Promise resolved with the photo taken with the current settings.
+
Returns a Promise resolved with the photo taken with the current settings.
capturer.setOptions(photoSettings)
Configures the photoSettings for subsequent captures; if visible, the effects of the configuration can be seen in the Track used as input.
`, - tests: [Feature.rawTest('window', , () => { return (typeof(ImageCapture) == undefined) }], - demoPen: 'codepen.io/miguelao/pen/ZOkOQw', + tests: [Feature.windowContains('ImageCapture')], + demoPen: 'AXzVqV', links: [ - {url: 'https://w3c.github.io/mediacapture-image/', title: 'W3C Specification'}, + {url: 'https://w3c.github.io/mediacapture-image/', title: 'W3C Specification Draft'}, {url: 'https://rawgit.com/Miguelao/demos/master/imagecapture.html', title: 'Demo'} ] }), diff --git a/build/groups.json b/build/groups.json index e9ad4a361f..f3e8e16c30 100644 --- a/build/groups.json +++ b/build/groups.json @@ -116,12 +116,12 @@ "id": "battery-status", "icon": "mdi-device-battery-80", "name": "Battery Status" - } + }, { - "id": "camera-microphone", + "id": "image-capture", "icon": "mdi-image-camera-roll", "name": "Image Capture" - }, + } ] }, {