]> _ Git - fluidbook-html5.git/commitdiff
wait #4323 @0:05
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Tue, 2 Mar 2021 15:36:03 +0000 (16:36 +0100)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Tue, 2 Mar 2021 15:36:03 +0000 (16:36 +0100)
js/libs/fluidbook/fluidbook.video.js

index cc09f1c3bddd29724b3f70a4b2da69cd08ee5fd1..b5e1119078c5b0e6fb537271e7d9fc251bf022dc 100644 (file)
@@ -111,7 +111,6 @@ FluidbookVideo.prototype = {
             html,
             player;
         var hidelinksonplay = $(e).data('hidelinksonplay') === '' ? [] : $(e).data('hidelinksonplay').split(',');
-        console.log('to hide', hidelinksonplay);
 
         //console.log('Initialising video ID: ' + id);
 
@@ -149,7 +148,7 @@ FluidbookVideo.prototype = {
         html = '<video class="video-js vjs-fluidbook-skin"';
         html += ' style="background-color:' + backgroundColor + ';" '
 
-        if (poster) {
+        if (poster && autoplay != '1') {
             html += 'poster="' + poster + '" ';
         }