I’m looking to implement a point system like the one on Khan Academy, and I don’t know how to detect when my user is watching a video.
I’m using jQuery & ASP.NET. The videos are not hosted on my server and come from various sources.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
The free Video.js project allows you to use Javascript to programmatically control and interact with videos playing on your page, regardless of whether they’re hosted HTML5, Flash or YouTube videos.
You can add a listener for the JavaScript event named “timeupdate”, which will fire each 15-250 milliseconds while the video is playing.