Skip to content

Commit d7977de

Browse files
committed
Min duration
1 parent f3898e5 commit d7977de

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

chrome/player/FastStreamClient.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1453,7 +1453,7 @@ export class FastStreamClient extends EventEmitter {
14531453

14541454

14551455
this.context.on(DefaultPlayerEvents.WAITING, (event) => {
1456-
if (this.options.autoplayNext && this.duration - this.currentTime < 1) {
1456+
if (this.options.autoplayNext && this.duration > 5&&this.duration - this.currentTime < 1) {
14571457
this.nextVideo();
14581458
return;
14591459
}

0 commit comments

Comments
 (0)