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

ASF GitHub Bot commented on CB-11148:
-------------------------------------

Github user sarangan12 commented on the pull request:

    
https://github.com/apache/cordova-plugin-media/pull/95#issuecomment-219899458
  
    Let there be tests


> 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: 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.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to