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

Android loop sound file

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • cordova-plugin-media
    • None

    Description

      Would be great if it would be possible to loop audio files on Android (I think it's already implemented for ios).

      Should be as simple as invoking "MediaPlayer.setLooping(true)".

      At the moment I'm looping the file by simply executing 'media.play()' again as soon as the 'MEDIA_STOPPED' event fired, however there is always a recognizable gap until the file begins playing again.

      Attachments

        Activity

          People

            Unassigned Unassigned
            KramericaIndustries Kramer
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: