te('controls', 'controls');
		video.setAttribute('preload', 'auto');
		video.setAttribute('tabIndex', "-1");

		const source = document.createElement('source');

		source.src = href;
		video.appendChild(source);

		document.querySelectorAll('a').forEach((link) => {
			if (new RegExp(`${baseName}\.?.*\.(vtt|srt)`, 'i').test(link.href)) {
				const track = document.createElement('track');
				loadSubtitle(link.href)
					.then(url => {
						track.src = url;
						track.kind = 'subtitles';
						track.label =