decodeFromVideo(source, url) {
			if (!source && !url) {
				throw new ArgumentException('Either an element with a src set or an URL must be provided');
			}
			if (url && !source) {
				return this.decodeFromVideoUrl(url);
			}
			return this.decodeFromVideoElement(source);
		}
Decodes the barcode from a video.

@param {(string|HTMLImageElement)} [source] The image element that can be either an element id or the element itself. Can be undefined in which case the decoding will be done from the imageUrl parameter.
@param {string} [url]
@returns {Promise<Result>} The decoding result.

@memberOf BrowserCodeReader