David Peacock created CB-11148:
----------------------------------

             Summary: 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: BlackBerry, Plugin Media
            Reporter: David Peacock


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