You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cordova.apache.org by "Per Quested Aronsson (JIRA)" <ji...@apache.org> on 2012/10/19 09:08:03 UTC

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

Per Quested Aronsson created CB-1681:
----------------------------------------

             Summary: 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
             Fix For: Master


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

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

Posted by "Andrew Grieve (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CB-1681?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13480314#comment-13480314 ] 

Andrew Grieve commented on CB-1681:
-----------------------------------

Agree. Let's leave this for whenever we do an API sweep. Added this to http://wiki.apache.org/cordova/Core%20API%20Audit#preview
                
> 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

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

Posted by "Simon MacDonald (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CB-1681?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13480387#comment-13480387 ] 

Simon MacDonald commented on CB-1681:
-------------------------------------

The Media API needs to be killed with fire anyway. We should look at implementing the Audio tag JS interface as it is more along the lines of the regular monkey patching we do, IMHO.
                
> 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

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

Posted by "Per Quested Aronsson (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CB-1681?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Per Quested Aronsson updated CB-1681:
-------------------------------------

    Description: 
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*



  was:
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*



    
> 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

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

Posted by "Shazron Abdullah (JIRA)" <ji...@apache.org>.
    [ 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