You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Kramer (JIRA)" <ji...@apache.org> on 2016/02/19 19:36:18 UTC

[jira] [Created] (CB-10655) Android loop sound file

Kramer created CB-10655:
---------------------------

             Summary: Android loop sound file
                 Key: CB-10655
                 URL: https://issues.apache.org/jira/browse/CB-10655
             Project: Apache Cordova
          Issue Type: Improvement
          Components: Plugin Media
            Reporter: Kramer


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. 





--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org