I have a page that sells access to .mp4 files. I am using the Commerce Kickstart Distribution and Commerce File and Commerce Licence.
Everything works fine, the only thing that I want to change is the way the commerce file module tracking the download. When the user clicks on the link to the licensed file, he can play the video directly in his browser. However, this is not counted as a download unless the video is played till the last second.
The module seems to only increase the download counter once the file has been downloaded completely and successfully. I would like to change this so the download is already “counted” when you click on the link.
I already tried looking at the php code of the module but scince I am pretty unexperienced with php I didnt really found out where this could be done.
I am using the 1.x version of Commerce File, but already taken a look into the 2.x but its the same there.