How to track video playback events
Each online video player should have a different events related to playback, like video playback started, playback ended, playback paused ... The video players should also allow you to connect a custom JavaScript to each event. This way you can track e.g. video to be watched till its end.
Lets works with a real example. YouTube video's got a useful API allowing all what we've described in the first paragraph. You can find the API here: https://developers.google.com/youtube/js_api_reference#Ev...