[ 
https://issues.apache.org/jira/browse/CB-10655?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15307416#comment-15307416
 ] 

Lee Yun Seok commented on CB-10655:
-----------------------------------

http://stackoverflow.com/questions/11951420/how-do-i-loop-my-media-player-files

I think this answer can help looping sound file on android.

> 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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to