something that looks like stopping in the end of playlist, grid layout visual vix

This commit is contained in:
Blue 2019-01-27 20:32:19 +03:00
parent 6e933257b1
commit 35a9abc7d7
2 changed files with 87 additions and 19 deletions

View file

@ -251,7 +251,11 @@ var Player = Controller.inherit({
if (next && next.enabled) {
next.activate();
} else {
//todo kinda stop state?
this._fsm.manipulation("pause");
this._onSeekingStart();
this._onSeek(0);
this._onSeekingEnd(0);
this.controls[ItemType.straight.playPause].activate();
}
}
}