Documentation says:

> `media.getDuration`
> Returns the duration of an audio file in seconds. **If the duration is 
> unknown, it returns a value of -1.**

Is it possible that the data is actually not available before `play` was 
executed? When is the file actually requested/loaded?

[ Full content available at: 
https://github.com/apache/cordova-plugin-media/issues/177 ]
This message was relayed via gitbox.apache.org for [email protected]

Reply via email to