diff --git a/src/utils/Player.js b/src/utils/Player.js index b4c80d3..b3ca6a1 100644 --- a/src/utils/Player.js +++ b/src/utils/Player.js @@ -164,7 +164,6 @@ export default class { document.title = `${this._currentTrack.name} ยท ${this._currentTrack.ar[0].name} - YesPlayMusic`; } this.setOutputDevice(); - // this._updatePositionState(); this._howler.once("end", () => { this._nextTrackCallback(); }); @@ -281,15 +280,6 @@ export default class { ], }); } - // _updatePositionState() { - // if ('setPositionState' in navigator.mediaSession) { - // navigator.mediaSession.setPositionState({ - // duration: this._currentTrack.dt / 1000, - // playbackRate: 1, - // position: this.seek(), - // }) - // } - // } _nextTrackCallback() { this._scrobble(true); if (this.repeatMode === "one") {