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

Media.getDuration always return -1 on windows

    XMLWordPrintableJSON

Details

    Description

      media.getDuration() method on windows always return -1 since _duration attribute is being defined immediately after loading audio.
      Proper way is to use onloadedmetadata event for audio element to update duration of audio after successful loading.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              vladimir.kotikov Vladimir Kotikov
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: