Поддержка RuTube (fix)
This commit is contained in:
4
index.js
4
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);
|
||||
}
|
||||
});
|
||||
|
Reference in New Issue
Block a user