[
https://issues.apache.org/jira/browse/CB-11148?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15353702#comment-15353702
]
ASF GitHub Bot commented on CB-11148:
-------------------------------------
Github user dpeacock commented on the issue:
https://github.com/apache/cordova-plugin-media/pull/95
The test that failed is an iOS test... this commit is only for
'src/blackberry10/index.js' not sure how the two could be related... thoughts?
> 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]