Fix embed page broken due to changes to jinja variables

Signed-off-by: Jesús <heckyel@hyperbola.info>
This commit is contained in:
James Taylor
2021-08-29 21:14:50 -07:00
committed by Jesús
parent 00c812ff4a
commit a7527986c8
2 changed files with 6 additions and 4 deletions

View File

@@ -120,5 +120,7 @@ const player = new Plyr(document.getElementById('js-video-player'), {
// Hide the external quality selector
window.addEventListener('DOMContentLoaded', function(){
document.getElementById('quality-select').hidden = true;
var qs = document.getElementById('quality-select');
if (qs)
qs.hidden = true;
});