Added progress bar click event to change current time. Added end of the video action.