You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Suraj Pindoria (JIRA)" <ji...@apache.org> on 2017/12/14 19:47:01 UTC

[jira] [Closed] (CB-11148) BB10 Media getDuration does not work

     [ https://issues.apache.org/jira/browse/CB-11148?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Suraj Pindoria closed CB-11148.
-------------------------------
    Resolution: Fixed

> BB10 Media getDuration does not work
> ------------------------------------
>
>                 Key: CB-11148
>                 URL: https://issues.apache.org/jira/browse/CB-11148
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: cordova-plugin-media
>            Reporter: David Peacock
>              Labels: BlackBerry10, pendingPR, triaged
>
> In the latest media plug-in the getDuration for Blackberry10 will never work.  The javascript code expects onStatus to be called to set the duration.  The getDuration function only returns the value that would have been set from the onStatus.  However, the BB10 code never calls onStatus so the duration will never be set.
> The BB10 code does have a native getDuration function, but this logic will never gets hit.  The create function should result in a callback to onStatus to set the duration.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org