Поддержка RuTube (fix)

This commit is contained in:
Valentin Silytuin 2025-04-24 23:32:27 +04:00
parent 51abd182a2
commit 842ca61c20
1 changed files with 2 additions and 2 deletions

View File

@ -342,7 +342,7 @@ const init = async (items = [], options = {}, index = 0) => {
playVideo(this.slides[this.activeIndex]); playVideo(this.slides[this.activeIndex]);
} }
if (isVideoInGallery.yt || isVideoInGallery.vk) { if (isVideoInGallery.yt || isVideoInGallery.vk || isVideoInGallery.rt) {
setVideoSize(gallery); setVideoSize(gallery);
} }
}); });
@ -360,7 +360,7 @@ const init = async (items = [], options = {}, index = 0) => {
}); });
swiper.on('resize', function () { swiper.on('resize', function () {
if (isVideoInGallery.yt || isVideoInGallery.vk) { if (isVideoInGallery.yt || isVideoInGallery.vk || isVideoInGallery.rt) {
setVideoSize(gallery); setVideoSize(gallery);
} }
}); });