LOVE IN ACTION NETWORK TV
Encouragement. Inspiration. Conversation. 24/7
(function () { const frame = document.getElementById("liaYouTube"); const button = document.getElementById("liaUnmuteButton"); function youtubeCommand(command, args = []) { if (!frame || !frame.contentWindow) return; frame.contentWindow.postMessage( JSON.stringify({ event: "command", func: command, args: args }), "*" ); } button.addEventListener("click", function () { youtubeCommand("unMute"); setTimeout(function () { youtubeCommand("playVideo"); }, 100); button.style.display = "none"; }); })(); 🔴 LIVE NOW — Love In Action Network TV
🎧 Press play, lock your screen, and take LIA Network TV Audio with you wherever you go.
(function () { const audio = document.getElementById("liaRadio"); const player = document.getElementById("liaAudioPlayer"); const playButton = document.getElementById("liaPlayButton"); const playIcon = document.getElementById("liaPlayIcon"); const status = document.getElementById("liaStatusText"); if ( !audio || !player || !playButton || !playIcon || !status ) { return; } /* ============================ PLAY / PAUSE BUTTON ============================ */ playButton.addEventListener( "click", async function () { if (audio.paused) { status.textContent = "CONNECTING TO LIVE AUDIO..."; try { await audio.play(); } catch (error) { status.textContent = "TAP PLAY TO TRY AGAIN"; } } else { audio.pause(); } } ); /* ============================ PLAYING ============================ */ audio.addEventListener( "playing", function () { playIcon.textContent = "❚❚"; playButton.setAttribute( "aria-label", "Pause LIA Network TV Audio" ); status.textContent = "LIVE • LIA NETWORK TV AUDIO"; player.classList.add("playing"); } ); /* ============================ PAUSED ============================ */ audio.addEventListener( "pause", function () { playIcon.textContent = "▶"; playButton.setAttribute( "aria-label", "Play LIA Network TV Audio" ); status.textContent = "PRESS PLAY TO LISTEN"; player.classList.remove("playing"); } ); /* ============================ BUFFERING ============================ */ audio.addEventListener( "waiting", function () { status.textContent = "CONNECTING TO LIVE AUDIO..."; } ); /* ============================ STREAM ERROR ============================ */ audio.addEventListener( "error", function () { status.textContent = "STREAM TEMPORARILY UNAVAILABLE"; playIcon.textContent = "▶"; player.classList.remove("playing"); } ); })();