_decodeFromVideoElementSetup(source) {
			if (!source) {
				throw new ArgumentException('A video element must be provided.');
			}
			this.reset();
			const element = this.prepareVideoElement(source);
			// defines the video element before starts decoding
			this.videoElement = element;
			return element;
		}
Sets up the video source so it can be decoded when loaded.

@param source The video source element.