[
https://issues.apache.org/jira/browse/CB-4813?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13768803#comment-13768803
]
Alberto Pettarin commented on CB-4813:
--------------------------------------
I confirm the presence of this bug.
Trying seeking before the first invocation of play() does not actually move the
playing position: the audio file is played from its beginning.
After the first invocation, seekTo() works as expected.
OS: Android (4.1.2 and 4.2.2) and iOS 6
PhoneGap: 3.0
> Media.seekTo on first play. Again
> ---------------------------------
>
> Key: CB-4813
> URL: https://issues.apache.org/jira/browse/CB-4813
> Project: Apache Cordova
> Issue Type: Bug
> Components: Plugin Media
> Affects Versions: 2.7.0, 2.9.0, 3.0.0
> Environment: Mac OS X
> Reporter: Snr
> Assignee: Steve Gill
>
> It is impossible to use Media.seekTo before the sound is played the first
> time.
> There was the same issue previously which was fixed in 2.1.0:
> https://issues.apache.org/jira/browse/CB-403
> However, I still can replicate the problem: the sound always starts playing
> from the beginning of the file.
> var audio = new Media("data/q.mp3",function(){},function(){},function(){});
> audio.seekTo(30000);
> audio.play();
--
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