fix extra slash in video src
This commit is contained in:
parent
e29b46b517
commit
c5935474ad
1 changed files with 1 additions and 1 deletions
|
@ -31,7 +31,7 @@ document.querySelector('a#play-fullscreen').addEventListener('click', event => {
|
||||||
video.classList.add('player')
|
video.classList.add('player')
|
||||||
video.classList.add('fullscreen')
|
video.classList.add('fullscreen')
|
||||||
//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'
|
video.controlsList = 'nodownload'
|
||||||
document.querySelector('main').appendChild(video)
|
document.querySelector('main').appendChild(video)
|
||||||
|
|
Loading…
Reference in a new issue