1
0
Fork 0
mirror of https://github.com/DanielnetoDotCom/YouPHPTube synced 2025-10-06 03:50:04 +02:00

Webcam improvement

This commit is contained in:
Daniel 2021-08-03 18:04:50 -03:00
parent 134d78bbcc
commit 3feb456dc6

View file

@ -490,6 +490,9 @@ function addViewBeacon() {
}
function _addView(videos_id, currentTime) {
if(typeof PHPSESSID == 'undefined'){
PHPSESSID = '';
}
$.ajax({
url: webSiteRootURL + 'objects/videoAddViewCount.json.php?PHPSESSID=' + PHPSESSID,
method: 'POST',
@ -508,6 +511,9 @@ function _addViewAsync() {
if(_addViewAsyncSent){
return false;
}
if(typeof PHPSESSID == 'undefined'){
PHPSESSID = '';
}
_addViewAsyncSent = true;
$.ajax({
url: webSiteRootURL + 'objects/videoAddViewCount.json.php?PHPSESSID=' + PHPSESSID,