mirror of
https://github.com/DanielnetoDotCom/YouPHPTube
synced 2025-10-06 03:50:04 +02:00
Webcam improvement
This commit is contained in:
parent
134d78bbcc
commit
3feb456dc6
1 changed files with 6 additions and 0 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue