mirror of
https://github.com/DanielnetoDotCom/YouPHPTube
synced 2025-10-03 17:59:55 +02:00
Improve search form
This commit is contained in:
parent
be16a356f6
commit
4c305903e5
5 changed files with 23 additions and 27 deletions
|
@ -86,6 +86,7 @@ if (window.navigator.standalone || window.matchMedia('(display-mode: standalone)
|
|||
document.body.classList.add('pwa');
|
||||
}
|
||||
|
||||
|
||||
var queryString = window.location.search;
|
||||
var urlParams = new URLSearchParams(queryString);
|
||||
|
||||
|
@ -93,6 +94,10 @@ if (urlParams.has('debug')) {
|
|||
isDebuging = false;
|
||||
}
|
||||
|
||||
function getSearchParam(param) {
|
||||
return urlParams.get(param) || "";
|
||||
}
|
||||
|
||||
function forwardToIframe(data) {
|
||||
var iframe = document.getElementById('avideoModalIframe'); // Get the iframe by ID
|
||||
if (iframe && iframe.contentWindow) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue