I was recently trying to create a simple script for making a counter go up whenever a video is watched, but I didn't know when to actually count the video as watched. I have thought of multiple options, such as when the page loads, when the video loads, when the video starts being played, when the video ends playing, etc. I am not sure which one would be the correct one, so does anybody have any ideas about when to add a counter to a videos views?