[英]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. 我正在尝试找到一种方法来在SQL数据库中的asp.net MVC中保存使用视频控件(HTML控件)播放视频的进度,然后再检索状态以检查视频是否已完全播放或继续播放视频,它停止了。 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 )
出于简单的需要,我使用https://www.w3schools.com/Tags/av_event_ended.asp (有关更多媒体事件,请参阅https://html.spec.whatwg.org/multipage/media.html#mediaevents )
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.