Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-11148

BB10 Media getDuration does not work

    XMLWordPrintableJSON

Details

    Description

      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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            dpeacock David Peacock
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: