From: Vincent Vanwaelscappel Date: Fri, 10 Feb 2023 11:14:59 +0000 (+0100) Subject: wip #5722 @0.25 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=caaac081ffff1ea2decef8c788def3284705927c;p=fluidbook-html5.git wip #5722 @0.25 --- diff --git a/js/libs/fluidbook/fluidbook.video.js b/js/libs/fluidbook/fluidbook.video.js index 540897be..8b74dccd 100644 --- a/js/libs/fluidbook/fluidbook.video.js +++ b/js/libs/fluidbook/fluidbook.video.js @@ -81,7 +81,11 @@ FluidbookVideo.prototype = { initVideos: function () { var $this = this; - $(".videoContainer:visible").each(function () { + $(".videoContainer").each(function () { + if($(this).closest('.rightclone').length>0 && $(this).is(':hidden')){ + return; + } + $this.initVideo(this); }); },