Page 1 of 1
[Solved] How to center a video with FCKeditor ?
Posted: Sun Jan 11, 2009 6:58 pm
by mortimer
Hello
I have tried everything I know to center a FLV video in FCKeditor with no success.
How do you do that ?
Re: How to center a video with FCKeditor ?
Posted: Sun Jan 11, 2009 10:05 pm
by Connie
what do you mean with "everything"?
give us a URL
I am sure you have conflicts with Stylesheet and layout....
Re: How to center a video with FCKeditor ?
Posted: Tue Jan 13, 2009 3:51 pm
by mortimer
I have written "everything I know" which is quite different.
May I ask you how do you center a FLV video in FCKeditor ?
Best regards
Re: How to center a video with FCKeditor ?
Posted: Tue Jan 13, 2009 4:13 pm
by Connie
I think you are just to lazy to answer our questions and wait until we do everything for you
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
you can check here:
http://www.webdeerns.de/index.php?CMSim ... _FCKeditor
Re: How to center a video with FCKeditor ?
Posted: Tue Jan 13, 2009 8:50 pm
by Holger
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
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
.
Holger
Re: How to center a video with FCKeditor ?
Posted: Tue Jan 13, 2009 11:54 pm
by Connie
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?
Re: How to center a video with FCKeditor ?
Posted: Wed Jan 14, 2009 6:52 am
by Till
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
Re: How to center a video with FCKeditor ?
Posted: Wed Jan 14, 2009 8:46 am
by Connie
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
Re: How to center a video with FCKeditor ?
Posted: Wed Jan 14, 2009 9:19 am
by Holger
[ external image ]
I don't need a ruler to see that it's not centered
.
(FF 2.0.0.20)
Holger
Re: How to center a video with FCKeditor ?
Posted: Wed Jan 14, 2009 10:43 pm
by mortimer
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