Skip to content

Commit

Permalink
修复 桌面端按键快进会高频触发播放上报
Browse files Browse the repository at this point in the history
  • Loading branch information
MagmaBlock committed Jun 28, 2023
1 parent 40f6a5a commit 6fa0761
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Anime/AnimePlayer.vue
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ onMounted(() => {
// 视频播放事件触发
artInstance.on("video:timeupdate", useThrottleFn(reportPlaying, 10000));
artInstance.on("seek", reportPlaying);
artInstance.on("seek", useThrottleFn(reportPlaying, 3000));
// 尝试在被浏览器限制时静音开播
artInstance.on("ready", () => {
Expand Down

0 comments on commit 6fa0761

Please sign in to comment.