Apache Cordova
  1. Apache Cordova
  2. CB-321

Media API: 'mediaSuccess' callback param to new Media() is called soon after new obj created

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.5.0
    • Fix Version/s: 1.6.0
    • Component/s: Android
    • Labels:
      None
    • Environment:

      Android 2.x, Cordova 1.5.0

      Description

      In recent past (1.4.1 and earlier) the mediaSuccess callback was called AFTER successful play action (see doc note below). As of 1.5.0 the mediaSuccess callback seems to be called immediately upon creation of new Media object - not when expected per docs: AFTER media object has completed current action.

      Doc for Media API: "mediaSuccess: (Optional) The callback that is invoked after a Media object has completed the current play/record or stop action."

        Activity

        No work has yet been logged on this issue.

          People

          • Assignee:
            Simon MacDonald
            Reporter:
            Libby Baldwin
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development