video creation functionality