remove download in controlsList for film page video
This commit is contained in:
parent
b83451403c
commit
a18e144e6a
1 changed files with 1 additions and 0 deletions
|
@ -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) {
|
||||||
|
|
Loading…
Reference in a new issue