Connected create video function to record button