From 9b35a89e39d4be338868c711d5aad6cc34acba44 Mon Sep 17 00:00:00 2001 From: filesite Date: Tue, 16 Jul 2024 09:08:10 +0800 Subject: [PATCH] improve previewer --- www/js/beauty.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/www/js/beauty.js b/www/js/beauty.js index 2ae35d7..f6af14b 100644 --- a/www/js/beauty.js +++ b/www/js/beauty.js @@ -224,7 +224,7 @@ if ($('#pr-player').length > 0 && typeof(videojs) != 'undefined') { var mc_video_id = ''; var tryToGetVideoSnapshot = function() { - if (noSnapVideos.length == 0) {return false;} + if (noSnapVideos.length == 0 || mc_video_id) {return false;} var videoItem = noSnapVideos.shift(); mc_video_id = videoItem.id;