mirror of
https://github.com/captbaritone/webamp.git
synced 2026-07-27 03:54:24 +00:00
parent
d8347a376d
commit
301dd4ef7e
1 changed files with 1 additions and 1 deletions
2
media.js
2
media.js
|
|
@ -100,7 +100,7 @@ Media = {
|
|||
return this._buffer.duration;
|
||||
},
|
||||
timeElapsed: function() {
|
||||
return this._context.currentTime - this._startTime;
|
||||
return this._position;
|
||||
},
|
||||
timeRemaining: function() {
|
||||
return this.duration() - this.timeElapsed();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue