diff --git a/www/js/beauty.js b/www/js/beauty.js index 4d0a511..ebfda6a 100644 --- a/www/js/beauty.js +++ b/www/js/beauty.js @@ -226,7 +226,7 @@ if ($('#pr-player').length > 0 && typeof(videojs) != 'undefined') { var tryToGetVideoSnapshot = function() { if (noSnapVideos.length == 0) {return false;} - var videoItem = noSnapVideos.pop(); + var videoItem = noSnapVideos.shift(); mc_video_id = videoItem.id; try {