Error playing videos from password-protected directories on iOS
I've added several videos to our site which are password-protected. Specifically, the entire directory (including all HTML and JS files, including JW Player) are protected with a .htaccess/.htpasswd pair (AuthType Basic).
The standard computers/web browsers I've tested work fine. However iOS devices fail when starting the video (tapping the "play" icon), displaying "Error loading media: File could not be played."
If I remove the .htaccess file, the videos play fine on iOS.
I use a self-hosted JW Player (Premium), but I've also tried the hosted JW Player using the Publish Wizard. The results are the same. I'd like to solve this because I'm anticipating the viewers of these videos will want to view using iPads.
My current workaround is to provide direct links to the videos, which work fine (bypassing JW Player and playing directly into the browser). This isn't ideal due to loss of related data that would be visible on the HTML page.