remove download in controlsList for film page video

This commit is contained in:
Sanjay B 2021-10-27 22:45:56 +05:30
parent b83451403c
commit a18e144e6a

View file

@ -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) {