Closed snakazawa closed 7 years ago
This add seek bar for #4 .
GET /player/seek/time
{seekSeconds}
updated-seek
{name: 'updated-seek', data: {seekSeconds}}
lodash.throttle
assets/js/util.js
humanizeTimeFromSeconds()
assets/js/{player, playlist, history}.js
I can't understand existing behavior of background gradation on player block. Give me ideas to fix the design, or please fix the design.
This add seek bar for #4 .
View changes
API changes
GET /player/seek/time
which returns{seekSeconds}
.updated-seek
event which returns{name: 'updated-seek', data: {seekSeconds}}
.Package changes
lodash.throttle
package.Refactorings
assets/js/util.js
withhumanizeTimeFromSeconds()
method, and use it inassets/js/{player, playlist, history}.js
.Known problems
Further issues
Appearance