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

Martin Mikeln updated CB-6020:
------------------------------

    Description: 
When using example code from docs for media playback, _success_, _error_ and 
_status_ callbacks are not fired. When media file stop playing, JS console on 
remote debugging shows: "Received Media.onStatus callback for unknown media :: 
b7815dd0-b2e7-2a46-c04a-b9bb919a4141" . The media file itself plays 
successfully and all other tested cordova functionalities are working, the 
problem is solely in callbacks.

Code works on Sony Xperia J (ST26i) with Android 4.1.2 but not on Sony Ericsson 
Xperia Arc (LT15i) with Android 4.0.4. Tested with Cordova version 3.1.0 and 
2.9.0, with two different media formats(.mp3 and .amr). Build with PhoneGap 
build service.

  was:
When using example code from docs for media playback, _success_, _error_ and 
_status_ callbacks are not fired. When media file stop playing, JS console on 
remote debugging shows: "Received Media.onStatus callback for unknown media :: 
b7815dd0-b2e7-2a46-c04a-b9bb919a4141" . The media file itself plays 
successfully and all other tested cordova functionalities are working, the 
problem is solely in callbacks.

Code works on Sony Xperia J (ST26i) with Android 4.1.2 but not on Sony Ericsson 
Xperia Arc (LT15i) with Android 4.0.4. Tested with Cordova version 3.1.0 and 
2.9.0, with two different media formats(.mp3 and .amr).


> Media object callbacks not firing
> ---------------------------------
>
>                 Key: CB-6020
>                 URL: https://issues.apache.org/jira/browse/CB-6020
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android, Plugin Media
>    Affects Versions: 2.9.0, 3.1.0
>         Environment: Sony Ericsson Xperia Arc (LT15i), Android 4.0.4
>            Reporter: Martin Mikeln
>         Attachments: media_callback_bug.zip
>
>
> When using example code from docs for media playback, _success_, _error_ and 
> _status_ callbacks are not fired. When media file stop playing, JS console on 
> remote debugging shows: "Received Media.onStatus callback for unknown media 
> :: b7815dd0-b2e7-2a46-c04a-b9bb919a4141" . The media file itself plays 
> successfully and all other tested cordova functionalities are working, the 
> problem is solely in callbacks.
> Code works on Sony Xperia J (ST26i) with Android 4.1.2 but not on Sony 
> Ericsson Xperia Arc (LT15i) with Android 4.0.4. Tested with Cordova version 
> 3.1.0 and 2.9.0, with two different media formats(.mp3 and .amr). Build with 
> PhoneGap build service.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Reply via email to