IOS: play htaccess protected mp4 video directly in the browser

I have a secure 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 in the latest version of iOS, it does not play.

I already tried to access the video using

http://username: password@myServer.com /myDirectory/myFile.mp4 

But this causes a โ€œphishing attackโ€ in the iOS browser.

I do not want to embed a video with HTML, I want to play it directly. How can I implement this with iOS and htaccess protection?

Many thanks!

// EDIT: I want to make sure that this problem only occurs due to htaccess protection. IOS seems to have a problem playing protected video.

+5
source share

Source: https://habr.com/ru/post/1208445/


All Articles