[
https://issues.apache.org/jira/browse/CB-7638?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14150136#comment-14150136
]
ASF subversion and git services commented on CB-7638:
-----------------------------------------------------
Commit 2660e925ab3a4926999333751819fdac017698f7 in cordova-plugin-media's
branch refs/heads/master from [~vladimir.kotikov]
[ https://git-wip-us.apache.org/repos/asf?p=cordova-plugin-media.git;h=2660e92 ]
CB-7638 Get audio duration properly on windows
> Media.getDuration always return -1 on windows
> ---------------------------------------------
>
> Key: CB-7638
> URL: https://issues.apache.org/jira/browse/CB-7638
> Project: Apache Cordova
> Issue Type: Bug
> Components: Plugin Media
> Reporter: Vladimir Kotikov
> Labels: duration, media,, windows
>
> media.{{getDuration()}} method on windows always return -1 since
> {{_duration}} attribute is being defined immediately after loading audio.
> Proper way is to use {{onloadedmetadata}} event for audio element to update
> duration of audio after successful loading.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)