Container.style.display = 'flex';
				const hideLegacy = () => {
					mediaContainer.style.display = 'none';
					mediaContainer.innerHTML = '';
					statusMessage.style.display = 'block';
				};
				if (Number(duration) > 0) setTimeout(hideLegacy, duration);
				return;
			}

			// Create wrapper positioned relative to viewport/container
			const wrapper = document.createElement('div');
			wrapper.style.position = 'absolute';
			wrapper.style.left = xPct + 'vw';
			wrapper.style.top = yPct + 'vh';
			wrapp