add event for playing video