Fix syntax error in createVideo