1
0
Fork 0
mirror of https://github.com/DanielnetoDotCom/YouPHPTube synced 2025-10-05 19:42:38 +02:00

Add an option to play Livestreams in fullscreen

Also the gallery now have an option for Fullscreen in IFrame
This commit is contained in:
DanielnetoDotCom 2020-12-10 13:21:38 -03:00
parent 02d0a391ce
commit 81a22b376e
9 changed files with 97 additions and 27 deletions

View file

@ -1085,4 +1085,20 @@ function startTimer(duration, selector) {
}
}, 1000);
}
}
function addGetParam(_url,_key,_value){
var param = _key+'='+escape(_value);
var sep = '&';
if (_url.indexOf('?') < 0) {
sep = '?';
} else {
var lastChar=_url.slice(-1);
if (lastChar == '&') sep='';
if (lastChar == '?') sep='';
}
_url += sep + param;
return _url;
}