Plugin for video-js, which save currenttime to cookie or database