mirror of
https://github.com/DanielnetoDotCom/YouPHPTube
synced 2025-10-03 09:49:28 +02:00
Put meet back
This commit is contained in:
parent
2ba1c0fd9e
commit
a1f1ce429d
6 changed files with 63 additions and 54 deletions
|
@ -626,6 +626,11 @@ function nl2br(str, is_xhtml) {
|
|||
return (str + '').replace(/([^>\r\n]?)(\r\n|\n\r|\r|\n)/g, '$1' + breakTag + '$2');
|
||||
}
|
||||
function inIframe() {
|
||||
var url = new URL(location.href);
|
||||
var avideoIframe = url.searchParams.get("avideoIframe");
|
||||
if(avideoIframe && avideoIframe !== 0){
|
||||
return true;
|
||||
}
|
||||
try {
|
||||
return window.self !== window.top;
|
||||
} catch (e) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue