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

Update logoff

This commit is contained in:
Daniel 2022-11-24 18:24:54 -03:00
parent bf29c081fa
commit d6f2fcf5f7
4 changed files with 14 additions and 3 deletions

View file

@ -3669,4 +3669,15 @@ function addScript(src) {
console.log('addScript already added ', src);
}
}
}
function avideoLogoff(){
sendAVideoMobileLiveStreamerMessage('logoff', '');
document.location = webSiteRootURL+'logoff';
}
function sendAVideoMobileLiveStreamerMessage(type, value){
if(window.AVideoMobileLiveStreamer){
window.AVideoMobileLiveStreamer.postMessage({type:type, value:value});
}
}