]> _ Git - fluidbook-html5.git/commitdiff
wait #3916 @0.5
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Tue, 29 Sep 2020 13:51:10 +0000 (15:51 +0200)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Tue, 29 Sep 2020 13:51:10 +0000 (15:51 +0200)
js/libs/fluidbook/fluidbook.video.js

index 092602b42116853c2b890abaceb60148c90c5d02..03dbd59c34819e3d843e273fe8599174e9629bd9 100644 (file)
@@ -158,6 +158,9 @@ FluidbookVideo.prototype = {
             html += 'muted ';
         }
 
+        html += 'controlsList="nodownload" ';
+        html += 'oncontextmenu="return false;" ';
+
         // if (setup) {
         //     html += "data-setup='" + setup + "' ";
         //     console.log('SETUP...');
@@ -323,6 +326,8 @@ FluidbookVideo.prototype = {
         if (sound == '0') {
             html += 'muted="muted" ';
         }
+        html += 'controlsList="nodownload" ';
+        html += 'oncontextmenu="return false;" ';
         html += 'src="' + path + '.' + this.preferedFormat + '"></video>';
 
         //console.log('Resulting HTML:', html);