[Solved] How to center a video with FCKeditor ?

Questions about how to use the online - editors and suggestions how to improve them
Post Reply
mortimer
Posts: 13
Joined: Mon Dec 01, 2008 2:43 pm

[Solved] How to center a video with FCKeditor ?

Post by mortimer » Sun Jan 11, 2009 6:58 pm

Hello

I have tried everything I know to center a FLV video in FCKeditor with no success.
How do you do that ?
Last edited by mortimer on Thu Jan 15, 2009 11:34 pm, edited 1 time in total.

Connie
Posts: 282
Joined: Thu May 22, 2008 10:11 am
Location: Hamburg
Contact:

Re: How to center a video with FCKeditor ?

Post by Connie » Sun Jan 11, 2009 10:05 pm

what do you mean with "everything"?

give us a URL

I am sure you have conflicts with Stylesheet and layout....
|---
Connie Müller-Gödecke, http://www.webdeerns.de

mortimer
Posts: 13
Joined: Mon Dec 01, 2008 2:43 pm

Re: How to center a video with FCKeditor ?

Post by mortimer » Tue Jan 13, 2009 3:51 pm

I have written "everything I know" which is quite different. :oops: ;)

May I ask you how do you center a FLV video in FCKeditor ?

Best regards

Connie
Posts: 282
Joined: Thu May 22, 2008 10:11 am
Location: Hamburg
Contact:

Re: How to center a video with FCKeditor ?

Post by Connie » Tue Jan 13, 2009 4:13 pm

I think you are just to lazy to answer our questions and wait until we do everything for you :evil:

Well, I simply uploaded a FLV-File with FCKEDitor, included it and after that, clicked on it and choose "centered layout"
the result was:

Code: Select all

<p style="text-align: center;"><embed height="400" width="200" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" src="/images/flash/unknittingmouse1.swf" play="true" loop="true" menu="true"></embed></p>
I do not know which problems you have, but I expect from you that you really try harder, we are not your pooopie-cleaning mothers here 8-)

you can check here:
http://www.webdeerns.de/index.php?CMSim ... _FCKeditor
|---
Connie Müller-Gödecke, http://www.webdeerns.de

Holger
Site Admin
Posts: 3470
Joined: Mon May 19, 2008 7:10 pm
Location: Hessen, Germany

Re: How to center a video with FCKeditor ?

Post by Holger » Tue Jan 13, 2009 8:50 pm

Connie wrote:I do not know which problems you have, but I expect from you that you really try harder, we are not your pooopie-cleaning mothers here 8-)

you can check here:
http://www.webdeerns.de/index.php?CMSim ... _FCKeditor
Sorry Connie,
it's not centered in my FF ;) .

And if you're angry about postings like mortimers here, so please ignore such postings in the future,
because I'm annoyed about replys with a word choice like yours :evil: .

Holger

Connie
Posts: 282
Joined: Thu May 22, 2008 10:11 am
Location: Hamburg
Contact:

Re: How to center a video with FCKeditor ?

Post by Connie » Tue Jan 13, 2009 11:54 pm

well, if you ask for a URL and get no info... that annoys me as well
how to help when no info is given

and when I do something I might use my vocabulary, why not? Some irony must be allowed.

here is a screenshot with my FF:

[ external image ]

the flv is perfectly centered in the content area

but: without any knowledge of the active template's CSS, maybe the flv might stand upside down? :ugeek:
|---
Connie Müller-Gödecke, http://www.webdeerns.de

Till
Posts: 337
Joined: Tue May 20, 2008 7:20 am
Location: Germany: Bremen
Contact:

Re: How to center a video with FCKeditor ?

Post by Till » Wed Jan 14, 2009 6:52 am

Connie wrote:the flv is perfectly centered in the content area
Connie,

it's not even centered in your image. I checked it with my pixel ruler!

And - by the way - text-align:center is not the correct CSS procedure to center block level elements. For block level elements one usually uses "margin:auto" which is understood by all modern browsers now. Or you use specific left and right margins. Or you can also work with absolute positioning like:

Code: Select all

position:absolute;
left:50%;
margin-left:-???px;
Hereby, -???px is the negative value of half the pixel of the width of the block level element which is centered.

Till

Connie
Posts: 282
Joined: Thu May 22, 2008 10:11 am
Location: Hamburg
Contact:

Re: How to center a video with FCKeditor ?

Post by Connie » Wed Jan 14, 2009 8:46 am

if it is not even centered exactly it is because I estimated the width and the height of the SWF-File when I used a very simple plain example to show how easy it is to implement an object

if I had known exactly the width of the object it would sit perfectly

but to show how to do it is was enough
|---
Connie Müller-Gödecke, http://www.webdeerns.de

Holger
Site Admin
Posts: 3470
Joined: Mon May 19, 2008 7:10 pm
Location: Hessen, Germany

Re: How to center a video with FCKeditor ?

Post by Holger » Wed Jan 14, 2009 9:19 am

[ external image ]

I don't need a ruler to see that it's not centered :lol: .
(FF 2.0.0.20)

Holger

mortimer
Posts: 13
Joined: Mon Dec 01, 2008 2:43 pm

Re: How to center a video with FCKeditor ?

Post by mortimer » Wed Jan 14, 2009 10:43 pm

Connie wrote:choose "centered layout"
Dear Connie,

This does not work with FLV videos.
The answer was in front of me and I had not seen it:
<table cellspacing="0" cellpadding="0" border="0" align="center">

Thank you for your help and sorry for the trouble.

Best regards

Post Reply