cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lorin Beer (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CB-4091) Media onSuccess is not called when media.play() is used on BlackBerry
Date Wed, 24 Jul 2013 19:25:49 GMT

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

Lorin Beer updated CB-4091:
---------------------------

    Component/s: Plugin Media
    
> 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
>            Assignee: Lorin Beer
>
> 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 is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message