mirror of
https://github.com/DanielnetoDotCom/YouPHPTube
synced 2025-10-06 03:50:04 +02:00
Add WebRTC
This commit is contained in:
parent
e5c41d4ff3
commit
5dc7bee07c
16 changed files with 285 additions and 164 deletions
|
@ -1379,6 +1379,22 @@ function avideoAlertAJAXHTML(url) {
|
|||
});
|
||||
}
|
||||
|
||||
function avideoAlertAJAXJson(url) {
|
||||
modal.showPleaseWait();
|
||||
$.ajax({
|
||||
url: url,
|
||||
complete: function (jqXHR) {
|
||||
response = (jqXHR.responseJSON);
|
||||
if(typeof response == 'object' && typeof response.msg !== 'undefined'){
|
||||
avideoAlertText(response.msg);
|
||||
}else{
|
||||
avideoAlertText(response);
|
||||
}
|
||||
modal.hidePleaseWait();
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
function avideoAlertAJAX(url) {
|
||||
modal.showPleaseWait();
|
||||
$.ajax({
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue