From: Vincent Vanwaelscappel Date: Tue, 29 Sep 2020 13:51:10 +0000 (+0200) Subject: wait #3916 @0.5 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=3a25efd7236934866811b091a3039eab1d5030b1;p=fluidbook-html5.git wait #3916 @0.5 --- diff --git a/js/libs/fluidbook/fluidbook.video.js b/js/libs/fluidbook/fluidbook.video.js index 092602b4..03dbd59c 100644 --- a/js/libs/fluidbook/fluidbook.video.js +++ b/js/libs/fluidbook/fluidbook.video.js @@ -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 + '">'; //console.log('Resulting HTML:', html);