incubator-callback-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lorin Beer (JIRA)" <>
Subject [jira] [Commented] (CB-403) Media.seekTo on first play
Date Mon, 18 Jun 2012 17:45:42 GMT


Lorin Beer commented on CB-403:

I've taken some time to look into this issue, and implemented Simon's proposed fix

the code lives here:

the master branch has the proposed solution: the create event is now handled by the AudioHandler

This, however, introduces a number of other problems. I've done my best to preserve the original
decision tree of the code, to try and insure that behaviour remains consistent. However, now
that the media is being prepared as soon as the media object is created, errors are reported
when requesting play/seek during load of streaming media. 

Also, Mikael's issue remains unfixed. The AudioPlayers startPlaying function reloads the media
while in the stopped state. There are a large number of minor behaviour problems like that
in the original code, but as this is my first attempt at a contribution, I did not want to
start drastically changing behaviour.
> Media.seekTo on first play
> --------------------------
>                 Key: CB-403
>                 URL:
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android
>    Affects Versions: 1.4.0
>            Reporter: Mathieu Savage
>            Assignee: Joe Bowser
>             Fix For: 1.9.0
> I cannot use .seekTo before I play the sound for 
> the first time. The sound always starts from the beginning. When I 
> pause it and seek to a different time in the sound file, it's all 
> good. 

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


View raw message