`; // Create a blob URL for the iframe var blob = new Blob([iframeContent], {type: 'text/html'}); var blobUrl = URL.createObjectURL(blob); // Replace player with iframe playerContainer.innerHTML = `
`; // Set a timeout to offer direct link if this approach also fails setTimeout(function() { offerDirectHLSLink(); }, 10000); // Give it 10 seconds to work } // iOS specific fallback with simplified player function showIOSFallback() { var player = document.getElementById('player'); player.innerHTML = `
`; // If this also fails, offer direct link var iosFallbackVideo = document.getElementById('iosFallbackVideo'); if (iosFallbackVideo) { iosFallbackVideo.addEventListener('error', function(e) { offerDirectHLSLink(); }); } } // Last resort: offer direct link to HLS stream function offerDirectHLSLink() { var player = document.getElementById('player'); if (!player) return; player.innerHTML = `

We're having trouble playing this video on your device.

Please try opening it directly in Safari:

Open in Safari

After clicking, you may need to tap play in Safari.
For best experience, use Wi-Fi connection.

`; } // Function to show only direct link when all else fails function showDirectLinkOnly() { var player = document.getElementById('player'); player.innerHTML = `

Unable to play this video

Your browser doesn't support HLS playback.

`; } // Start the player initialization document.addEventListener('DOMContentLoaded', function() { // Delay the player initialization slightly to ensure libraries are loaded setTimeout(initializeHlsPlayer, 100); }); // Backup initialization if DOMContentLoaded already fired if (document.readyState === 'complete' || document.readyState === 'interactive') { setTimeout(initializeHlsPlayer, 100); }
Beavis and Butt-Head Do the Universe poster

Beavis and Butt-Head Do the Universe (2022)

2022 United States English

After a "creative" judge sentences them to space camp, a black hole sends our adolescent heroes 24 years into the modern future where the duo misuse iPhones, embark on a quest to score, and become targets of the Deep State.

Director: Albert Calleros, Geoffrey Johnson, John Rice
Writer: Mike Judge, Lew Morton, Guy Maxtone-Graham
Cast: Mike Judge, Gary Cole, Nat Faxon