entElement.querySelector('.selected');
            if (prevSelected) {
                prevSelected.classList.remove('selected');
            }
            
            if (element === prevSelected) {
                selectedVideo = null;
            } else {
                selectedVideo = device;
                element.classList.add('selected');
            }
        }

		function generateUrl() {
            const url = new URL(baseUrl);
            
            if (selectedVideo === null