title: iOS: Play htaccess protected mp4 video directly in browser
body: <p>I have a protected directory on my server. In this directory I have uploaded a video. Now if I request this video on Android in a browser it works like a charm. If I request this video on the latest version of iOS it doesn't play. </p>
  
  <p>I already tried to access the video with</p>
  
  <pre><code>http://username:password@myServer.com/myDirectory/myFile.mp4
  </code></pre>
  
  <p>But that brings up a "phishing attack" in iOS Browser.</p>
  
  <p>I don't want to embed the video with HTML, I want to play it directly. How can I realize this with iOS and htaccess protection?</p>
  
  <p>Many thanks!</p>
  
  <p>// EDIT:
  I want to make sure, that this problem is just because of the htaccess protection. iOS seems to have a problem with playing a video that is protected.</p>