add onend and currentVideo