Skip to content
This repository has been archived by the owner on Apr 2, 2020. It is now read-only.

Commit

Permalink
[flv] better loop fix
Browse files Browse the repository at this point in the history
  • Loading branch information
myfreeer authored Nov 17, 2016
1 parent 8e26982 commit e7decf5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bilibili_injected.js
Original file line number Diff line number Diff line change
Expand Up @@ -510,7 +510,7 @@
} else {
if ((abp.video.duration - abp.video.currentTime) / abp.video.currentTime < 0.001 && !abp.video.paused) {
abp.video.currentTime = 0;
if (!abp.video.loop) abp.video.click();
if (!abp.video.loop) abp.video.pause();
};
};
}, 600);
Expand Down

0 comments on commit e7decf5

Please sign in to comment.