  name = name.replace(/\s+/g, ' ').trim();

            return name;
        }

        function hidePlayer() {
            const playerContainer = document.getElementById("player-container");
            playerContainer.style.display = "none";

            const selectedChannel = document.getElementById("selected-channel");
            selectedChannel.style.display = "none";

            var similarChannelsDiv = document.getElementById('similar-channels');
            similarChannelsDiv.style.display = 'no