forum.coppermine-gallery.net

Support => cpg1.5.x Support => cpg1.5 plugins => Topic started by: chicagohopeless on August 10, 2010, 03:16:54 pm

Title: Flash Media Player v1.6 does not open video
Post by: chicagohopeless on August 10, 2010, 03:16:54 pm
I'm attempting to use the Flash Media Player plugin for cpg 1.5.x (using the v1.6 zip file).  I'm running CPG 1.5.8.  My gallery is located at http://chicagohopeless.net/gallery/index.php (http://chicagohopeless.net/gallery/index.php)

When I try to open a video I get a screen to rate/comment on the video, but I don't get the video.  If I am not logged in, I get a "you must login to view this page" username/password screen.  Once logged in (username: visitor / password: password) I get the same comment/rate screen.

I've configured the videos to be 320x240.  I've read the documentation and searched the forums, but no other error seems to be similar to mine.  I must be missing a step, but I can't figure out what it is. 

Thanks for your help.
Title: Re: Flash Media Player v1.6 does not open video
Post by: Αndré on August 11, 2010, 02:20:01 pm
Works for me as expected (e.g. http://chicagohopeless.net/gallery/displayimage.php?pid=8901).
Title: Re: Flash Media Player v1.6 does not open video
Post by: chicagohopeless on August 11, 2010, 09:20:18 pm
Thank you.  Your link pointed the way to my problem.  For some reason, if I use
http://www.chicagohopeless.net/gallery/displayimage.php?pid=8901 (http://www.chicagohopeless.net/gallery/displayimage.php?pid=8901)
instead of
http://chicagohopeless.net/gallery/displayimage.php?pid=8901 (http://chicagohopeless.net/gallery/displayimage.php?pid=8901)
I get the problem I described in my report. 

Removing the "www." allows me to see the videos, but the rest of the site acts normally whether I have the "www." in the url or not.  Why would the video pages be sensitive to that when the photo pages are not?
Title: Re: Flash Media Player v1.6 does not open video
Post by: Αndré on August 11, 2010, 09:30:13 pm
Firstly you should decide if you want to access your website with or without the www.
Then you have to create a htaccess rule.
Then you have to adjust the Coppermine setting accordingly.
Then we have to check again if the video doesn't work for you or not.
Title: Re: Flash Media Player v1.6 does not open video
Post by: chicagohopeless on August 11, 2010, 10:17:47 pm
It makes the most sense to keep the "www." since somehow I'd got the site bookmarked that way, although I'd configured Coppermine without the "www."

I already had this htaccess file, which seems to cover the situation:
Quote
RewriteEngine on

# BEGIN WordPress

# END WordPress

RewriteCond %{HTTP_HOST} ^chicagohopeless.net$ [OR]
RewriteCond %{HTTP_HOST} ^www.chicagohopeless.net$
RewriteRule ^/?$ "http\:\/\/www\.chicagohopeless\.net\/gallery\/index\.php" [R=301,L]
I've switched the Coppermine configuration to add the "www." and all seems to be working fine now.

Thank you so much for your help!