I’ve a Meteor template to handle videos which looks like this:
<video id="video1" class="video-js vjs-default-skin" controls preload="auto" >
<source src="" type='video/mp4'>
and I need to attach events for following cases:
- play/pause button clicks
- timestamp change and currentTime values.
Is there some “click” or “change” events I can use to do this?
This information is then used to display a canvas with additional drawings (changing with time) and depending on the timestamps.