Last post Aug 06, 2018 08:35 AM by javedhakim
Aug 01, 2018 06:20 AM|javedhakim|LINK
I am trying to find a way to save the progress of a video played using video control (HTML control) in asp.net MVC in an SQL database and later retrieve the state to check if the video was played fully or continue playing the video where it was stopped.
I searched a lot but couldn't find any solution. Is there a way to achieve this? Kindly let me know.
Aug 01, 2018 07:16 AM|PatriceSc|LINK
Then I'm going back to the spec. For a simple need you have
https://www.w3schools.com/Tags/av_event_ended.asp but see https://html.spec.whatwg.org/multipage/media.html#mediaevents depending on what you really want to track and maybe experiment
a bit to see which matters to you (what if the user is going fast forward to the end but still reaches the end).
Edit: added/removed additional thoughts but let's see first what you can get from that
Aug 02, 2018 06:42 AM|Yuki Tao|LINK
Perhaps,this article will be helpful to you.You could refer to it:
Aug 06, 2018 08:35 AM|javedhakim|LINK
Thanks PatriceSC for the answer. I am able to achieve what I needed in the Project.