On Gallery3: cannot play video on iPhone if it's only available to registered users (I am logged in)
cipc
Joined: 2009-12-17
Posts: 8 |
![]() |
Hi, in public albums everything works perfect. In an album that's available only to registered users, when trying to play the video (logged in as admin, using imobile theme), I get an empty stream (the video seams to start playing, but all I get is a black screen). As soon as I make the same album available to everyone, I can play the video. I suppose this has something to do with permissions at file level, but cannot get behind it. Mention: on the desktop, everything works fine. Any help is greatly appreciated. Regards,
|
|
Posts: 27300
In order to narrow things down:
Does it work with the default theme?
Do you have view full permissions set for the album as there is no resize version of the video to show. So if the user does not have permissions to view the full size no vidoe will play.
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 8
Thanks for the quick answer:
regardles the theme, I have the same behaviour.
Here's a screenshot of the persmisions:
Again, if I set the same permisions for everybody, then it works!
Greetings,
C
Posts: 27300
I don't have a iphone to test but might be able to test with a ipod touch later today.
Does this work?
login as user: fred pass: fredfred
to http://www.langleycom.com/gallery3/index.php/
and see if this movie plays:
http://www.langleycom.com/gallery3/index.php/Test1/barsandtone
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 8
barsandtone does not seem to work.
Here's my examples of working videos:
http://gallery.cioiulescu.net/2010_08_U2_Frankfurt/Filme#PhotoSwipe1340043297851
Which, if I set permissions to registered users only, will not work anymore.
Greetings,
C.
Posts: 1
There are at least 2 problems around this:
1. iPhone sends different user-agent for video requests, 'AppleCoreMedia/<version> (iPhone; U; CPU OS <version> like Mac OS X; <locale>)' instead of normal Mozila/5.0 (iPhone;...). This breaks G3's session management.
See cookie::salt() and $conifg["validate"] in modules/gallery/config/session.php.
2. iPhone requires Range: HTTP header support for videos. See Appendix A in http://mobiforge.com/developing/story/content-delivery-mobile-devices
Thanks.