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

2014-05-28 Thread Max Franz (JIRA)

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

Max Franz commented on CB-6696:
---

Could this option be set for the plugin via the XML config file then?  The main 
issue is that flash is on by default via the plugin on iOS.  

Even if the plugin doesn't provide an option for this, then I think the plugin 
should set the flash to off by default.  It's better to have it off and have 
the user turn it on if desired, rather than having the flash come on without 
the user wanting or asking for that behaviour.

 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.2#6252)


[jira] [Commented] (CB-6697) Autostart video capture option

2014-05-28 Thread Max Franz (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-6697?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14012000#comment-14012000
 ] 

Max Franz commented on CB-6697:
---

This enhancement is a minor nice-to-have-feature, so in this case it's probably 
more important to follow the spec and possibly revisit this later.  Thanks for 
the clarification!

 Autostart video capture option
 --

 Key: CB-6697
 URL: https://issues.apache.org/jira/browse/CB-6697
 Project: Apache Cordova
  Issue Type: Improvement
  Components: Plugin Media Capture
Reporter: Max Franz
Priority: Minor

 It would be great to have an option to automatically start recording the 
 video for the media capture plugin once invoked.  
 Opening the capture video UI will usually happen as a result of user 
 interaction (e.g. a tap), so it's deliberate on the user's part.  Thus, we 
 can eliminate the second tap (red rec button) in many usecases by starting 
 the recording as soon as `capture.captureVideo()` is invoked.  This can 
 greatly increase user experience by reducing repetition.
 This should definitely be optional, because there are usecases where the user 
 would not want to start recording right away.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Created] (CB-6697) Autostart video capture option

2014-05-15 Thread Max Franz (JIRA)
Max Franz created CB-6697:
-

 Summary: Autostart video capture option
 Key: CB-6697
 URL: https://issues.apache.org/jira/browse/CB-6697
 Project: Apache Cordova
  Issue Type: Improvement
  Components: Plugin Media Capture
Reporter: Max Franz
Priority: Minor


It would be great to have an option to automatically start recording the video 
for the media capture plugin once invoked.  

Opening the capture video UI will usually happen as a result of user 
interaction (e.g. a tap), so it's deliberate on the user's part.  Thus, we can 
eliminate the second tap (red rec button) in many usecases by starting the 
recording as soon as `capture.captureVideo()` is invoked.  This can greatly 
increase user experience by reducing repetition.

This should definitely be optional, because there are usecases where the user 
would not want to start recording right away.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


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

2014-05-14 Thread Max Franz (JIRA)
Max Franz created CB-6696:
-

 Summary: 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.2#6252)