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

Elysio edited comment on CB-12246 at 12/15/16 1:10 PM:
-------------------------------------------------------

This is the code:

navigator.device.capture.captureVideo(
              assinaturaSuccesso, // your success callback
              assinaturaErro,   // your error callback
              {
                limit: 1,
                duration: 5,
                highquality: false,
                frontcamera: true
              }
          );


was (Author: elysio):
This is the code:

navigator.device.capture.captureVideo(
              assinaturaSuccesso, // your success callback
              assinaturaErro,   // your error callback
              {
                limit: 1, // the nr of videos to record, default 1 (on iOS 
always 1)
                duration: 5, // max duration in seconds, default 0, which is 
'forever'
                highquality: false, // set to true to override the default low 
quality setting
                frontcamera: true, // set to true to override the default 
backfacing camera setting. iOS: works fine, Android: YMMV (#18)
                // you'll want to sniff the useragent/device and pass the best 
overlay based on that.. assuming iphone here
              }
          );

> After recording a video when I click over movie to see it asks me what 
> program I want to open it
> ------------------------------------------------------------------------------------------------
>
>                 Key: CB-12246
>                 URL: https://issues.apache.org/jira/browse/CB-12246
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android, Plugin Media Capture
>            Reporter: Elysio
>         Attachments: Screenshot_2016-12-15-10-57-06.png, 
> Screenshot_2016-12-15-10-57-12.png, Screenshot_2016-12-15-10-57-18.png
>
>
> Hello everyone!
> I need a big help! When I record a video over android the duration option not 
> works.
> After I record, when I click Play it asks me what application to use to show 
> the video.
> Is there anyway to play inside the app like iOS? If not, is there anyway to 
> pass this process programmatically(User select Use or ✓)?
> Sincerely,
> Elysio



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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to