开发者

Video Viewed Counter

I need to make a video viewed counter. I have .MOV files using embeded/Object tags and application i开发者_StackOverflows ASP.NET. Is there any way that I can count hits on the videos using Jquery?


Cant you attach a javascript event handler to the div that only contains the video. When that area is clicked on increase a counter by 1 and only allow that function to be triggered once per page lifecycle. I expect when you trigger the function you will need to make an AJAX request to update a database or something by 1 and then remove the old counter using the dom, append the new value.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜