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

Support to set the volume when playing short sounds

    XMLWordPrintableJSON

Details

    Description

      Looking at

      http://docs.phonegap.com/en/edge/cordova_media_media.md.html#media.play

      it seems like PhoneGap doesn't allow to set the volume when we play audio files (in order that it is set prior to when the playing actually starts). In my case I would like to pass the volume as a parameter to this method here:

      function playAudio(url)

      in order to play a short beep.

      I looked at the PhoneGap implementation for Android and iOS and it seems to be easy to implement on these two platforms.

      Would it make sense to add support for this?

      Attachments

        Activity

          People

            shazron Shazron Abdullah
            n1ck Dominik
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: