我怎么知道用户是否观看了视频 [英] How Can I Know If User Watched Video Or Not

查看:96
本文介绍了我怎么知道用户是否观看了视频的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我将此代码放在页面中以运行视频:



 <   video     id   =  asd    style   =  max-height:500px; width:600px;   控件  = 控件 >  
< source src = UploadedVideos / <% #Eval( VideoID%> type = video / mp4 / >
< / video >





和用户运行视频没问题,但我需要知道是否用户是否观看

如何知道用户是否播放视频并观看。

解决方案

查看有关订阅活动的JS API文档



您还可以查看此视频的触发事件



了解更多详情,请点击此处..

I put this code in the page to run videos :

<video id="asd" style="max-height: 500px; width: 600px;" controls="controls">
<source src="UploadedVideos/<%#Eval("VideoID")%>" type="video/mp4" /> 
</video>



and the user run the video no problem, but i need to know if the user watch it or not
how to know if the user play the video and watched it.

解决方案

check JS API documentation about Subscribing to events

and you can also check trigger event on this video

for More detail click here..


这篇关于我怎么知道用户是否观看了视频的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆