From a18e144e6a106f4341e9bc7fd531258c3b851477 Mon Sep 17 00:00:00 2001 From: Sanjay B Date: Wed, 27 Oct 2021 22:45:56 +0530 Subject: [PATCH] remove download in controlsList for film page video --- app/static/js/film.js | 1 + 1 file changed, 1 insertion(+) diff --git a/app/static/js/film.js b/app/static/js/film.js index ce33cd7..7107a59 100644 --- a/app/static/js/film.js +++ b/app/static/js/film.js @@ -33,6 +33,7 @@ document.querySelector('a#play-fullscreen').addEventListener('click', event => { //setVideoSrc(video, 'https://pad.ma/' + film.id + '/480p.webm') video.src = `${film.prefix}/stream/${film.id}.mp4` video.controls = true + video.controlsList = 'nodownload' document.querySelector('main').appendChild(video) video.style.display = 'none' if (continueTimecode) {