简体   繁体   中英

How to save the progress of Video played using video control in asp.net mvc (C#)?

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.

Finally I have found a solution. For a simple need, I am using https://www.w3schools.com/Tags/av_event_ended.asp (For more media events refer, https://html.spec.whatwg.org/multipage/media.html#mediaevents )

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM