Archived
Поддержка RuTube (fix)
This commit is contained in:
1 parent
51abd182a2
commit
842ca61c20
1 file changed
+2
-2
@@ -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