XFileSharing Pro - Video mod and Downloads counting

Message
Author
nova
Posts: 42
Joined: Nov 21, 2011 7:07 pm

Video mod and Downloads counting

#1 Postby nova » Jan 31, 2012 4:16 pm

Are videos played counted as downloads?

PowerChaos
Posts: 521
Joined: Dec 19, 2009 5:12 pm

#2 Postby PowerChaos » Feb 05, 2012 10:04 pm

no
they are not counted as downloads as it dint paste the button

when you press the download button it goes to a extra link that says ... dowload +1

so if you just play the video , then there is no way to say that it got downloaded +1 times

atleast not directly and with the current coding the script use

i am talking over version 1.8 :D

Greetings From PowerChaos

nova
Posts: 42
Joined: Nov 21, 2011 7:07 pm

#3 Postby nova » Feb 05, 2012 10:11 pm

Are you sure?

I did some tests and it seems that videos that are (completely) downloaded from the player are counted.

Note: I have nginx + 100% complete download mods. Maybe video played counting work only with these active...

Admin, you there?

PowerChaos
Posts: 521
Joined: Dec 19, 2009 5:12 pm

#4 Postby PowerChaos » Feb 05, 2012 10:15 pm

The nginx mod is a differend system

to download a file the server get a request from your browser

the 100% complete mod checks the size of the file ( sending) and the size of what it sended to that same process

so it will always count a download if you play a video online
as your browser still makes a request to the server


or to say it differend
with 100% complete mod it checks if a file get downloaded (end of stream)

the embed video => file download (stream)

the Download button => file count ( press button)

those 2 things get counted on 2 differend ways and there is maybe a way to pass a variable that it only start counting after you press the button
but not sure about that

Greetings From PowerChaos