adding video timeline code