def load_media(self, vidSource):
		""" Loads a video.

		Parameters
		----------
		vidSource : str
			The path to the video file
		"""
		if not os.path.exists(vidSource):
			print("File not found: " + vidSource)
			pygame.display.quit()
			pygame.quit()
			sys.exit(1)

		self.decoder.load_media(vidSource)
		self.decoder.loop = self.loop
		pygame.display.set_caption(os.path.split(vidSource)[1])
		self.vidsize = self.decoder.clip.size

		self.destsize = self.calc_scaled_res(self.windowSize, self.vidsize)
		self.vidPos = ((self.windowSize[0] - self.destsize[0]) / 2, (self.windowSize[1] - self.destsize[1]) / 2)

		self.__textureSetup()

		if(self.decoder.audioformat):
			if self.soundrenderer == "pygame":
				from mediadecoder.soundrenderers import SoundrendererPygame
				self.audio = SoundrendererPygame(self.decoder.audioformat)
			elif self.soundrenderer == "pyaudio":
				from mediadecoder.soundrenderers.pyaudiorenderer import SoundrendererPyAudio
				self.audio = SoundrendererPyAudio(self.decoder.audioformat)
			elif self.soundrenderer == "sounddevice":
				from mediadecoder.soundrenderers.sounddevicerenderer import SoundrendererSounddevice
				self.audio = SoundrendererSounddevice(self.decoder.audioformat)
			self.decoder.set_audiorenderer(self.audio)
Loads a video.

		Parameters
		----------
		vidSource : str
			The path to the video file