简体   繁体   English

跟踪播放视频的持续时间-Web,iOS和Android

[英]Track time duration for which video was played - Web, iOS and Android

I need a web based video player that provides "time duration for which a user played a video" and "instance at which the video stopped playing". 我需要一个基于Web的视频播放器,该播放器提供“用户播放视频的持续时间”和“视频停止播放的实例”。

It would be great if it can provide details like the time at which the video was started (if he has skipped to a certain location when the video has started) and the stop time of the video. 如果它可以提供视频开始时间(如果他在视频开始时已跳到某个位置)和视频停止时间等详细信息,那就太好了。

Could anyone please suggest a ready made player available in market which provides all these information OR some alternate approach to achieve the same. 任何人都可以建议在市场上出售现成的播放器,该播放器提供所有这些信息,或者通过其他替代方法来实现这一目的。

I want to achieve the same for iOS and Android devices. 我想在iOS和Android设备上实现相同的目标。 Is this something possible? 这有可能吗? And if yes please help me on its feasibility with Phonegap? 如果是的话,请帮我了解Phonegap的可行性吗?

Thanks in advance 提前致谢

You won't need a speical player for this. 您不需要专门的玩家。 The mediaelements audio and video already have a property called played . 该mediaelements音频和视频已经有一个叫做财产发挥

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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