From c5935474ada9c34f0218119067fe3a5195242d24 Mon Sep 17 00:00:00 2001 From: Sanjay B Date: Thu, 28 Oct 2021 21:07:48 +0530 Subject: [PATCH] fix extra slash in video src --- app/static/js/film.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/static/js/film.js b/app/static/js/film.js index d1f0058..eef6f54 100644 --- a/app/static/js/film.js +++ b/app/static/js/film.js @@ -31,7 +31,7 @@ document.querySelector('a#play-fullscreen').addEventListener('click', event => { video.classList.add('player') video.classList.add('fullscreen') //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.controlsList = 'nodownload' document.querySelector('main').appendChild(video)