changed callback for end video for update to the next
added e2e tests and setup config file