]> _ Git - fluidbook-html5.git/commitdiff
wip #5722 @0.25
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Fri, 10 Feb 2023 11:14:59 +0000 (12:14 +0100)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Fri, 10 Feb 2023 11:14:59 +0000 (12:14 +0100)
js/libs/fluidbook/fluidbook.video.js

index 540897be14cd973dec430a52ae5bd103f127ad79..8b74dccd7a1c6419f8ca99f53799081d6685489b 100644 (file)
@@ -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);
         });
     },