cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kramer (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CB-10655) Android loop sound file
Date Fri, 19 Feb 2016 18:36:18 GMT
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


Mime
View raw message