renamed openVideo by detectVideo