Is there a way to count video playback views after 30 seconds?
Hello,
I am going to host a video website with Vimeo players, I would like to know if there is a way for Jquery to actually detect the play button being pressed, then counts to 30 seconds and finally sends an ajax call to a PHP script to insert +1 view in a video_view table?
I can manage all the php and mysql part but I am unsure on how to detect a click on a "play button" and then starts a counter that works on any devices that kick start an ajax call 30 seconds later.
Any help would be more than appreciated.
Thank you!
Regards,
Ben