![](https://secure.gravatar.com/avatar/546b5959b1f98886610dafcfa3c3bc50?rating=PG&size=50&default=https%3A%2F%2Fcdn.desk.com%2Fassets%2Funknown_user_50-8ad5644bbe6b1bd7454f2ea465f782bd.png)
How can I count the playing time?
The requirement need to count the time spent on JWplayer's playing for each user, how can I do this? Does there any API for help?
Thanks for reading.
The requirement need to count the time spent on JWplayer's playing for each user, how can I do this? Does there any API for help?
Thanks for reading.
You might be able to use onTime() and then record to a DB, possibly.
http://support.jwplayer.com/customer/portal/articles/1413089-javascript-api-reference