You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Vladimir Kotikov (JIRA)" <ji...@apache.org> on 2014/09/25 13:38:33 UTC
[jira] [Created] (CB-7638) Media.getDuration always return -1 on
windows
Vladimir Kotikov created CB-7638:
------------------------------------
Summary: 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
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)