`; // 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); }
Bitchin': The Sound and Fury of Rick James poster

Bitchin': The Sound and Fury of Rick James (2021)

2021 United States English

A profile of legendary funk/R&B icon Rick James capturing the peaks and valleys of his storied career to reveal a complicated and rebellious soul, driven to share his talent with the world.

Director: Sacha Jenkins
Writer: Sacha Jenkins, Jason Pollard, Steve Rivo
Cast: Rick James, Oscar Alston, Big Daddy Kane