[ 
https://issues.apache.org/jira/browse/CB-11369?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

dw1 updated CB-11369:
---------------------
    Comment: was deleted

(was: Looping these files seems to be built into android and not likely to 
change. 
http://stackoverflow.com/questions/12834727/android-loop-true-how-to-avoid-mediaplayer-looping-audios-with-this-metadat)

> Media Plugin: Ignore ANDROID_LOOP exif header
> ---------------------------------------------
>
>                 Key: CB-11369
>                 URL: https://issues.apache.org/jira/browse/CB-11369
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android, Plugin Media
>            Reporter: dw1
>
> Any sound file that has an ANDROID_LOOP=true exif header, such as many of the 
> /system/media/audio files included with Lollipop, will always loop forever 
> even if only expected to play once via the media plugin. This can lead to 
> having to shut down an app to stop the sound. The plugin should ignore the 
> header and play the sound once unless using the plugin loop feature, as 
> expected.
> My big ugly workaround is to monitor the duration of the file and destroy the 
> media at about the right time: http://pastebin.com/raw/Q9kCriab



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

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

Reply via email to