Greetings. I must build a tool that will enable a user to be able to see a live stream for XX amount of seconds, depending of the 'package' that the end-user purchased.
The problem lies when i've got to count the number of seconds the user is actually viewing the stream.
I already though of a popup window, where the video will load, and when that is done, ive got to start running the counter ... Once the user logs off or closed the window, I must stop the counter.
Any idea how I could do that ?