From 3a25efd7236934866811b091a3039eab1d5030b1 Mon Sep 17 00:00:00 2001 From: Vincent Vanwaelscappel Date: Tue, 29 Sep 2020 15:51:10 +0200 Subject: [PATCH] wait #3916 @0.5 --- js/libs/fluidbook/fluidbook.video.js | 5 +++++ 1 file changed, 5 insertions(+) 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); -- 2.39.5