From 842ca61c207d986a82353900af202aa39d3a362c Mon Sep 17 00:00:00 2001 From: Valentin Silytuin Date: Thu, 24 Apr 2025 23:32:27 +0400 Subject: [PATCH] =?UTF-8?q?=D0=9F=D0=BE=D0=B4=D0=B4=D0=B5=D1=80=D0=B6?= =?UTF-8?q?=D0=BA=D0=B0=20RuTube=20(fix)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/index.js b/index.js index cb81385..a4ff9c2 100644 --- a/index.js +++ b/index.js @@ -342,7 +342,7 @@ const init = async (items = [], options = {}, index = 0) => { playVideo(this.slides[this.activeIndex]); } - if (isVideoInGallery.yt || isVideoInGallery.vk) { + if (isVideoInGallery.yt || isVideoInGallery.vk || isVideoInGallery.rt) { setVideoSize(gallery); } }); @@ -360,7 +360,7 @@ const init = async (items = [], options = {}, index = 0) => { }); swiper.on('resize', function () { - if (isVideoInGallery.yt || isVideoInGallery.vk) { + if (isVideoInGallery.yt || isVideoInGallery.vk || isVideoInGallery.rt) { setVideoSize(gallery); } });