[
https://issues.apache.org/jira/browse/CB-11369?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
dw1 updated CB-11369:
---------------------
Summary: Media Plugin: Unexpected looping of .ogg files with
ANDROID_LOOP=true exif header (was: Media Plugin: Ignore ANDROID_LOOP exif
header)
> Media Plugin: Unexpected looping of .ogg files with ANDROID_LOOP=true exif
> header
> ---------------------------------------------------------------------------------
>
> Key: CB-11369
> URL: https://issues.apache.org/jira/browse/CB-11369
> Project: Apache Cordova
> Issue Type: Bug
> Components: Plugin Media
> Reporter: dw1
> Priority: Minor
> Labels: Android, triaged
>
> 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
> 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
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]