Поддержка RuTube (fix)
This commit is contained in:
parent
51abd182a2
commit
842ca61c20
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);
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue