Flash Player not centered

petri
petri's picture

Joined: 2005-12-15
Posts: 207
Posted: Fri, 2009-10-23 07:45

Hello,

I have always used the embed video module and liked it a lot but since I live in China and all video websites are being blocked, I decided to use the Flash player to be sure that Chinese people could see what I upload.
So I installed the 2.2.3 version of Flash Video (although the number in the plugin list in my admin page is still 1.0.3), I went on the Flash Video admin page and checked a few things and it seems to work alright, the autoplay works fine, the share link as well. Thank you SuperCidr to create that module, it's great ! :-)

The only problem I have is the player is not centered on the page, it looks like it's floating on the bottom right of the page. Is there any way I could force it to float centered ? Maybe on FlashVideoRenderer.class ?

My theme is PGlightbox

Thank you in advance for your answer

Petri

Gallery URL = http://www.coquille.org/gallery/main.php
Gallery version = 2.3 core 1.3.0
API = Core 7.54, Module 3.9, Theme 2.6, Embed 1.5
PHP version = 5.2.6 apache2handler
Webserver = Apache/2.0.52 (CentOS)
Database = mysql 5.0.68, lock.system=flock
Toolkits = ArchiveUpload, Exif, Gd, Thumbnail, SquareThumb, LinkItemToolkit
Acceleration = none, none
Operating system = Linux commodus.metanet.ch 2.6.9-55.ELsmp #1 SMP Wed May 2 14:28:44 EDT 2007 i686
Default theme = coquille
gettext = enabled
Locale = en_US
Browser = Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_4_11; fr) AppleWebKit/525.28.3 (KHTML, like Gecko) Version/3.2.3 Safari/525.28.3
Rows in GalleryAccessMap table = 117
Rows in GalleryAccessSubscriberMap table = 9249
Rows in GalleryUser table = 24
Rows in GalleryItem table = 9233
Rows in GalleryAlbumItem table = 277
Rows in GalleryCacheMap table = 0

AttachmentSize
flashplayer.jpg26.32 KB
 
suprsidr
suprsidr's picture

Joined: 2005-04-17
Posts: 6136
Posted: Fri, 2009-10-23 11:57

Instead of an image of the player off center I'm thinking it would be more helpful to supply a link to a offending video.

-s
FlashYourWeb and Your Gallery with The E2 XML Media Player for Gallery2

 
petri
petri's picture

Joined: 2005-12-15
Posts: 207
Posted: Sat, 2009-10-24 06:42

Thank you Supersidr for your quick answer,

It was on a private album, I moved the video, here is the link :

http://www.coquille.org/gallery/friends/2009/housecooling/housecooling.flv.html

 
suprsidr
suprsidr's picture

Joined: 2005-04-17
Posts: 6136
Posted: Sat, 2009-10-24 11:38
 
petri
petri's picture

Joined: 2005-12-15
Posts: 207
Posted: Sun, 2009-10-25 01:36

oups sorry,

did not realize that when you move smth from a private album, it keeps the permissions of the private album

http://www.coquille.org/gallery/friends/2009/housecooling/housecooling.flv.html

 
suprsidr
suprsidr's picture

Joined: 2005-04-17
Posts: 6136
Posted: Sun, 2009-10-25 02:02

There was a problem a while back with the Extreme theme also from Pedro. Are you using an updated version of the PGlightbox theme?
He posted a fix somewhere in these forums for the extreme theme, I'm sure it will work for PGlightbox as well.
you'll have to search.

-s
FlashYourWeb and Your Gallery with The E2 XML Media Player for Gallery2

 
petri
petri's picture

Joined: 2005-12-15
Posts: 207
Posted: Sun, 2009-10-25 02:46

ok I will check it out and let you know

thank you

 
petri
petri's picture

Joined: 2005-12-15
Posts: 207
Posted: Sun, 2009-10-25 07:58

The X_treme theme had that same problem indeed and the 1.0.2 update fixed it (Pedro did not say how) but PGlightbox does not.

http://gallery.menalto.com/node/61330?page=3

got to find another solution as I think they won't be any other update to PGlightbox

My flash video plugin still shows 1.0.3 in the plugin list, could that be the problem ? Meaning my update has not been done properly ?
I just deleting the folder and replaced it by the new one (2.2.3) found on your website.

 
suprsidr
suprsidr's picture

Joined: 2005-04-17
Posts: 6136
Posted: Sun, 2009-10-25 12:37

I did not bump the module version as the core team has not reviewed it and probably won't.
Did you ask Pedro?

-s
FlashYourWeb and Your Gallery with The E2 XML Media Player for Gallery2