I'm trying to center a flash video in the center of a node.
In the page itself (the content type) I upload a flash file and it shows left-justified. There is no way to change its position. I checked the configuration page - Site Configuration | SWF Tools | Embedding Settings | Default Settings for Embedding and set the Align (aligned) field to centered. Unfortunately the video still shows left justified.
What do I do wrong? Is there something else I should do (beside writing code)?
Thanks!

Comments

robertinop’s picture

I have done this more or less successfully by styling the

tag created by SWF Tools (I use Flowplayer 3) in CSS. I set the margin-left and padding-left to center within my display area (which is a page panel, not the full node area).
eddycha’s picture

I too am looking for a solution to this. Its just makes my pages look a bit rubbish sometimes and shouldnt need dodgy css styling?

kingman1016’s picture

You just have to define the width of .swftools-wrapper. And then margin auto does the job. I cant figure out how to center the player itself either.

newbie66’s picture

Can someone please advise where to find the css files referred to.
Thanks in advance.

kingman1016’s picture

Status: Active » Closed (fixed)