Made the video pattern a property of the class for easy adaptation