You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Lorin Beer (JIRA)" <ji...@apache.org> on 2014/12/09 23:03:12 UTC
[jira] [Updated] (CB-4091) Media onSuccess is not called when
media.play() is used on BlackBerry
[ https://issues.apache.org/jira/browse/CB-4091?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Lorin Beer updated CB-4091:
---------------------------
Assignee: (was: Lorin Beer)
> Media onSuccess is not called when media.play() is used on BlackBerry
> ---------------------------------------------------------------------
>
> Key: CB-4091
> URL: https://issues.apache.org/jira/browse/CB-4091
> Project: Apache Cordova
> Issue Type: Bug
> Components: BlackBerry, Plugin Media
> Affects Versions: 2.1.0, 2.2.0, 2.3.0, 2.4.0, 2.5.0, 2.6.0, 2.7.0, 2.8.0, 2.9.0
> Reporter: Damjan Dvorsek
>
> onSuccess function is not called when playing media with media.play(). Testing on BB10z device with webinspector, there was no report of any error in the console. Using Ripple emulator (0.9.16) gives following error in the console:
> "Received Media.onStatus callback for unknown media :: 0a9ec375-1a41-c7b3-ab35-3be99b281640"
> If cordova 2.0.0 is used there is a different error in the console:
> "Uncaught TypeError: Cannot set property '_duration' of undefined"
> I used "Full Example" that comes with media.play(), from documentation http://docs.phonegap.com/en/2.9.0/cordova_media_media.md.html#media.play
> for testing.
> In the case of cordova 2.0.0 onSuccess function is also not called after play ends, but it gets called if "stopAudio()" (which contains media.stop()) is called. This is not the case with versions 2.1.0 and above.
>
>
--
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