Closed (fixed)
Project:
SWF Tools
Version:
6.x-2.5
Component:
SWF Tools
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
23 Jul 2009 at 21:18 UTC
Updated:
15 Jan 2011 at 07:30 UTC
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
Comment #1
robertinop commentedI 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).Comment #2
eddycha commentedI too am looking for a solution to this. Its just makes my pages look a bit rubbish sometimes and shouldnt need dodgy css styling?
Comment #3
kingman1016 commentedYou 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.
Comment #4
newbie66 commentedCan someone please advise where to find the css files referred to.
Thanks in advance.
Comment #5
kingman1016 commented