You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cordova.apache.org by "Shazron Abdullah (JIRA)" <ji...@apache.org> on 2012/10/19 20:45:11 UTC

[jira] [Commented] (CB-1681) Inconsistent time units in media API

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

Shazron Abdullah commented on CB-1681:
--------------------------------------

This would be a breaking API change if implemented. I agree it should be consistent but I don't know if it's worth it.
                
> Inconsistent time units in media API
> ------------------------------------
>
>                 Key: CB-1681
>                 URL: https://issues.apache.org/jira/browse/CB-1681
>             Project: Apache Cordova
>          Issue Type: Improvement
>          Components: CordovaJS
>    Affects Versions: 2.0.0
>         Environment: All
>            Reporter: Per Quested Aronsson
>            Assignee: Filip Maj
>            Priority: Minor
>              Labels: javascript
>             Fix For: Master
>
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>
> In the media API, different functions use different time units. For example:
> * *media.getCurrentPosition* returns the position in *seconds*.
> * *media.seekTo* sets the position in *milliseconds*

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira