Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id A2CA9200BAC for ; Wed, 26 Oct 2016 15:10:01 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id A174D160B07; Wed, 26 Oct 2016 13:10:01 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id F150A160ACA for ; Wed, 26 Oct 2016 15:10:00 +0200 (CEST) Received: (qmail 60666 invoked by uid 500); 26 Oct 2016 13:10:00 -0000 Mailing-List: contact issues-help@cordova.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@cordova.apache.org Received: (qmail 60604 invoked by uid 99); 26 Oct 2016 13:10:00 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 26 Oct 2016 13:10:00 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id E9A892C1F54 for ; Wed, 26 Oct 2016 13:09:59 +0000 (UTC) Date: Wed, 26 Oct 2016 13:09:59 +0000 (UTC) From: "ASF subversion and git services (JIRA)" To: issues@cordova.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CB-10701) Cordova Media Capture Plugin Video capture results in 0 'duration' MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Wed, 26 Oct 2016 13:10:01 -0000 [ https://issues.apache.org/jira/browse/CB-10701?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15608406#comment-15608406 ] ASF subversion and git services commented on CB-10701: ------------------------------------------------------ Commit 7e28e9cb1d60e54ecb1e29e61d38329d9c0e62f0 in cordova-plugin-media-capture's branch refs/heads/master from [~Nikita Matrosov] [ https://git-wip-us.apache.org/repos/asf?p=cordova-plugin-media-capture.git;h=7e28e9c ] CB-10701 CB-7117 android: Add manual test to check getting metadata > Cordova Media Capture Plugin Video capture results in 0 'duration' > ------------------------------------------------------------------ > > Key: CB-10701 > URL: https://issues.apache.org/jira/browse/CB-10701 > Project: Apache Cordova > Issue Type: Bug > Components: Plugin Media Capture > Environment: Intel XDK > Reporter: Ivan > Labels: triaged > > I'm using Cordova Media Capture Plugin to capture video on android and iphone. Everything works fine but one thing and that is getting duration of video file. > I'm using this code: > navigator.device.capture.captureVideo(onSuccessVideo, onFailVideo, {limit:1, duration: 120}); > function onSuccessVideo (mediaFiles) { > mediaFiles[0].getFormatData(function(data) { > var video_duration = data.duration; > }); > } > results for duration is zero on android and on iphone. > Can you help me with this? -- 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