mirror of
https://github.com/DanielnetoDotCom/YouPHPTube
synced 2025-10-05 19:42:38 +02:00
Update logoff
This commit is contained in:
parent
bf29c081fa
commit
d6f2fcf5f7
4 changed files with 14 additions and 3 deletions
|
@ -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});
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue