How to make statistics player?

Hi all, interested in the question about the realization of the statistics of the player, namely the counting of exits for advertising.
A movie website it has its own database of films and your player VideoJS, I noticed that from our site, take other videos to their sites. The question arose to know the statistics from the player and outputs on advertising (VAST) to not only count the statistics button of the play, namely, the view is counted only when work is.
Prompt please in what side to dig
June 14th 19 at 20:16
1 answer
June 14th 19 at 20:18
The number of downloads of the player:
cat /var/log/nginx/access.log | grep VideoJS\.swf | wc-l

Find more questions by tags AnalystNginxSoftware players