Is there a way to measure the amount of time that video has been playing on the client's machine, with both streaming, and also with downloaded video. I'm trying to capture the amount of time video has been watched.

Thanks.