code/media_lib.py
def start(self, repeat=False, frame_counter=0):
		""" starts the video
		- repeat=False: set True, to play repeatedly
		"""
		self.play = True
		self.repeat = repeat
		self.cap = cv2.VideoCapture(self.file)
		if frame_counter != 0:
			self.cap.set(1, frame_counter-1)
		self.frames = self.cap.get(cv2.CAP_PROP_FRAME_COUNT)
		self.frame_counter = frame_counter
 starts the video
		- repeat=False: set True, to play repeatedly
		
starts the video
repeat=False: set True, to play repeatedly
starts the video repeat = False : set True to play repeatedly
def start(self, repeat=False, frame_counter=0):
		self.play = True
		self.repeat = repeat
		self.cap = cv2.VideoCapture(self.file)
		if frame_counter != 0:
			self.cap.set(1, frame_counter-1)
		self.frames = self.cap.get(cv2.CAP_PROP_FRAME_COUNT)
		self.frame_counter = frame_counter
def start ( self , repeat = False , frame_counter = 0 ) : self . play = True self . repeat = repeat self . cap = cv2 . VideoCapture ( self . file ) if frame_counter != 0 : self . cap . set ( 1 , frame_counter - 1 ) self . frames = self . cap . get ( cv2 . CAP_PROP_FRAME_COUNT ) self . frame_counter = frame_counter
starts the video
 repeat=False: set True, to play repeatedly
starts the video repeat = False : set True to play repeatedly
""" starts the video
		- repeat=False: set True, to play repeatedly
		"""
self
repeat
frame_counter