Streaming a video file that is located in an online password protected directory (.htaccess) SOLVED
The question has been solved. If anyone is interested, try using MX Player. It worked best. All you have to do is have the username and password put in together into the URL after http, but before the URL of the video file. So lets say the directory is protected by the username FrancisFord and the password is Copola and the URL is , you would enter this address when streaming from a URL:
So the formula is this: . Remember to remove the www from the URL and that the username comes first then the password seperated by a colon, followed by the @ symbol. I hope that makes sense. Here is an example:
So, I have video's uploaded to my personal site. I password protected the directory with .htaccess. The permissions of the videos are set to 777. If I surf to the directory of the video through the browser on my Galaxy S II, it asks for a username and password and then displays the files that are there. When I click on a file, it tells me that I cant play the video and thats with any video player I use. If I try to play the video in my browser itself by putting it into something like JW player, it also doesn't work. The only time it works is when I unprotect the directory. Then it streams it fine.
I am using A Samsung Galaxy SII (s2) or Epic 4G touch from Sprint. I have Cyanogen Mod 10, beta 2 with Jelly Bean on it. I use the built in browser and also Chrome. The video players I have tried using to no avail are:
ES Media Player
Showtime Player panel
Stock Android Video player.
Any suggestions to getting around this problem? I really would like to use a video player and not the browser and the directory must be protected. Thanks in advance for the help.
Last edited by jdiperla; 11-30-2012 at 05:59 PM.