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') //setVideoSrc(video, 'https://pad.ma/' + film.id + '/480p.webm')
video.src = `${film.prefix}/stream/${film.id}.mp4` video.src = `${film.prefix}/stream/${film.id}.mp4`
video.controls = true video.controls = true
video.controlsList = 'nodownload'
document.querySelector('main').appendChild(video) document.querySelector('main').appendChild(video)
video.style.display = 'none' video.style.display = 'none'
if (continueTimecode) { if (continueTimecode) {