
            const channelElement = event.target.closest(".channel-name");
            if (channelElement) {
                const streamUrl = channelElement.getAttribute("data-stream-url");
                const channelName = channelElement.getAttribute("data-channel-name"); 
                const channelIcon = channelElement.getAttribute("data-channel-icon"); 
                if (streamUrl) {
                    showLoader();

                    fetch('/get_stream', {
                        method: 'POS