()
| 285 | } |
| 286 | |
| 287 | private _tick() { |
| 288 | // In Safari, the audio currentTime may exceed it's duration, |
| 289 | // or a little bit less than the duration |
| 290 | if (this.isStopped() && this._ticker.running) { |
| 291 | this.stop() |
| 292 | } |
| 293 | this._onTickCb(this.time) |
| 294 | } |
| 295 | |
| 296 | public start(): void { |
| 297 | if (!this._ready) { return } |