-
Type:
Bug
-
Status: Open
-
Priority:
Major
-
Resolution: Unresolved
-
Affects Version/s: 2.7.0, 2.9.0, 3.0.0
-
Fix Version/s: None
-
Component/s: cordova-plugin-media
-
Labels:None
-
Environment:
Android, IOS, OS X
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();