GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   iPhone videos within password protected members area problem (https://gfy.com/showthread.php?t=1075400)

Mutt 07-20-2012 10:40 PM

iPhone videos within password protected members area problem
 
Is there an issue with iphones playing videos within an htaccess password protected area?

I have iphone format MP4 videos, they play fine outside the members area but nobody can play them inside the members area.

anybody have any info/advice?

thanks

donnie 07-20-2012 11:28 PM

Add this line to your .htaccess file:

AddType video/mp4 mp4

I think that should solve the problem.

Mutt 07-21-2012 12:00 AM

thank you i will try that and report back

SGS 07-21-2012 01:09 AM

Wowsa can be a problem.

Mutt 07-21-2012 01:21 AM

not using Wowza

AddType video/mp4 mp4 didn't work - the videos aren't stored in the .htaccess protected members directory, the links to them are from the .htaccess protected members directory.

maybe i need to put that directive in an htaccess file inside the content directory?

donnie 07-21-2012 02:31 AM

Quote:

Originally Posted by Mutt (Post 19072157)
not using Wowza

AddType video/mp4 mp4 didn't work - the videos aren't stored in the .htaccess protected members directory, the links to them are from the .htaccess protected members directory.

maybe i need to put that directive in an htaccess file inside the content directory?



I have my files in a .htaccess protected members directory and I was having the exact same problem as you.

Here is the complete .htaacess file that I am using:

RewriteEngine On
RewriteRule ^content/.*$ - [PT]
AddType video/mp4 mp4


Where "content/" is path to your content folder of course. I have this .htaccess file in my members directory and my files are stored in members/content.

I am not sure but I guess you could try putting these lines in both of your .htaccess files and see if it works. It cant break anything as far as I know.

Mutt 07-21-2012 02:49 AM

Quote:

Originally Posted by donnie (Post 19072188)
I have my files in a .htaccess protected members directory and I was having the exact same problem as you.

Here is the complete .htaacess file that I am using:

RewriteEngine On
RewriteRule ^content/.*$ - [PT]
AddType video/mp4 mp4


Where "content/" is path to your content folder of course. I have this .htaccess file in my members directory and my files are stored in members/content.

I am not sure but I guess you could try putting these lines in both of your .htaccess files and see if it works. It cant break anything as far as I know.

thanks will give that a shot.

Jel 07-21-2012 02:49 AM

been having a fucking nightmare with this as well - thanks donnie gonna try that. Actually I don't have an ipad/phone/mac so if anyone has one and can test the vids in my members area on those devices I'd be very grateful :)

Jel 07-21-2012 02:52 AM

1 thing, is it like this:

RewriteRule ^domain.com/folder/.*$ - [PT]

or

RewriteRule ^http://www.domain.com/folder/.*$ - [PT]

donnie 07-21-2012 03:20 AM

Quote:

Originally Posted by Jel (Post 19072206)
1 thing, is it like this:

RewriteRule ^domain.com/folder/.*$ - [PT]

or

RewriteRule ^http://www.domain.com/folder/.*$ - [PT]

Just don't forget to add:

AddType video/mp4 mp4

I am actually having the same problem with .3gp files and same solution is working there as well. I just add

AddType video/3gp 3gp

Jel 07-21-2012 03:28 AM

yup got those lines in, just wondering if I need the full url to the content folder?

donnie 07-21-2012 04:06 AM

Quote:

Originally Posted by Jel (Post 19072230)
yup got those lines in, just wondering if I need the full url to the content folder?

I don't think you need the full URL. I don't have it anyway and it is working.

If you still need someone to test your videos in Iphone/Ipad leave your email and I can help you.

Jel 07-21-2012 05:04 AM

Quote:

Originally Posted by donnie (Post 19072257)
I don't think you need the full URL. I don't have it anyway and it is working.

If you still need someone to test your videos in Iphone/Ipad leave your email and I can help you.

Thanks - admin [a t] cfnmparty dot co dot uk

DWB 07-21-2012 05:09 AM

Quote:

Originally Posted by Jel (Post 19072205)
been having a fucking nightmare with this as well - thanks donnie gonna try that. Actually I don't have an ipad/phone/mac so if anyone has one and can test the vids in my members area on those devices I'd be very grateful :)

I have iPad, iTouch, and Android devices if anyone needs testing. Info in sig, just give me a pass. I should be online for the next 12 hours.

sojproductions 07-21-2012 05:25 AM

Security can cause this issue, proxypass was preventing vids playing on mobiles for us, we had to get an upgrade from proxigence to get around the problem, so if you have extra security start there.

Jel 07-21-2012 08:00 AM

hmm. htaccess didnt fix it - I have strongbox but the hana flvplayer itself isn't loading on ipad/phone/etc - any ideas on what that issue might be? Player & vids load fine on both a PC and android device (sorry to kinda hijack Mutt, I'll try not to get in the way too much).


All times are GMT -7. The time now is 07:14 PM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123