Normal
I understand that.There is a bool field called 'watched' that indicates whether or not the video has been watched.The 'timeswatched' field indicates how many times the video has been watched. There is also a field that holds the percentage of the video that has been watched.These are three different fields and I am treating them separately.To my mind, the current release, and all previous versions, have never handled 'timeswatched' correctly.I believe that the way I am doing it in my code is what anyone using MP would expect: a) Someone watches a video > watched set to true, times watched set to 1, percentage set to the ((duration / stoptime) * 100); b) Someone continues to watch the video later > times watched = 2, percentage reset; c) Any further viewings increment timeswatched and set the percentage.Is this not what you think should happen?TonyCorrection: percentage should be ((stoptime / duration) * 100);
I understand that.
There is a bool field called 'watched' that indicates whether or not the video has been watched.
The 'timeswatched' field indicates how many times the video has been watched. There is also a field that holds the percentage of the video that has been watched.
These are three different fields and I am treating them separately.
To my mind, the current release, and all previous versions, have never handled 'timeswatched' correctly.
I believe that the way I am doing it in my code is what anyone using MP would expect:
a) Someone watches a video > watched set to true, times watched set to 1, percentage set to the ((duration / stoptime) * 100);
b) Someone continues to watch the video later > times watched = 2, percentage reset;
c) Any further viewings increment timeswatched and set the percentage.
Is this not what you think should happen?
Tony
Correction: percentage should be ((stoptime / duration) * 100);