You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Adnan (JIRA)" <ji...@apache.org> on 2015/04/26 19:12:39 UTC

[jira] [Commented] (CB-6696) Set flash mode for capture video plugin

    [ https://issues.apache.org/jira/browse/CB-6696?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14513137#comment-14513137 ] 

Adnan commented on CB-6696:
---------------------------

Hi, do you know how I can autostart recording video or sound or taking pictures, without the user doing anyting?

> Set flash mode for capture video plugin
> ---------------------------------------
>
>                 Key: CB-6696
>                 URL: https://issues.apache.org/jira/browse/CB-6696
>             Project: Apache Cordova
>          Issue Type: Improvement
>          Components: Plugin Media Capture
>            Reporter: Max Franz
>
> The capture video plugin is great, but there are usecases where the default option for the camera flash mode does not suffice.  A lot of the time, the user would prefer the flash be off unless manually set otherwise.
> An option to set the flash mode would be great (right now, I have to patch the plugin for all platforms manually).  The following enums would be required:
> * flash on
> * flash off
> * flash auto
> e.g. for iphone see https://developer.apple.com/library/ios/documentation/uikit/reference/UIImagePickerController_Class/UIImagePickerController/UIImagePickerController.html#//apple_ref/occ/instp/UIImagePickerController/cameraFlashMode
> As an alternative: If having an option to expose this is not preferable, it's also possible 
> * to change the default from "flash auto" to "flash off", or
> * to start by default with "flash off" and save the value the user set last in the app.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org