mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-28 18:41:20 -08:00
build all packages
This commit is contained in:
1 parent
57e48c0783
commit
09ef4c975b
9 files changed
+9
-9
No files matched your search
@@ -164,7 +164,7 @@ class ArtplayerToolThumbnail extends Emitter {
|
||||
const { number, width, height, column } = this.option;
|
||||
const { duration } = this.video;
|
||||
const timeGap = duration / number;
|
||||
const timePoints = [timeGap];
|
||||
const timePoints = [0];
|
||||
while (timePoints.length < number) {
|
||||
const last = timePoints[timePoints.length - 1];
|
||||
timePoints.push(last + timeGap);
|
||||
|
||||
Reference in new issue
Block a user