- Posts: 6
COMMUNITY FORUM
Video alignment
- PeterRobertson
-
Topic Author
- Offline
- New Member
Less
More
11 years 4 months ago #54062
by PeterRobertson
Video alignment was created by PeterRobertson
I am trying to left-align a swf video in my joomla 3 site.
I can display the video but it is always centred in the page position.
I have scoured the web and found several suggested solutions. My problem is that these are often obscure (for someone not well-versed in the innards of joomla), or simply do not work.
I have tried enclosing the line {swf}...{/{swf} in a table; this prevents the video from appearing.
I have added magic statements suggested by others to template.css but these have all similarly stopped videos working altogether.
I would have thought that the ability to justify videos as you wish would be a basic option that did not need low-level modification of the underlying code.
As this question has been asked so many times, could someone please give explicit instructions for fixing it, where 'explicit' includes:
I can display the video but it is always centred in the page position.
I have scoured the web and found several suggested solutions. My problem is that these are often obscure (for someone not well-versed in the innards of joomla), or simply do not work.
I have tried enclosing the line {swf}...{/{swf} in a table; this prevents the video from appearing.
I have added magic statements suggested by others to template.css but these have all similarly stopped videos working altogether.
I would have thought that the ability to justify videos as you wish would be a basic option that did not need low-level modification of the underlying code.
As this question has been asked so many times, could someone please give explicit instructions for fixing it, where 'explicit' includes:
- what files need to be modified. Complete path names would be useful as there are many files with the same name.
- exactly what needs to be added/changed and exactly where in the file those changes should be made.
Please Log in or Create an account to join the conversation.
- Yiota
-
- Visitor
11 years 4 months ago #54063
by Yiota
Replied by Yiota on topic Re: Video alignment
Could you please provide a link to your video page?
Thank you.
Thank you.
Please Log in or Create an account to join the conversation.
- PeterRobertson
-
Topic Author
- Offline
- New Member
Less
More
- Posts: 6
11 years 4 months ago #54064
by PeterRobertson
Replied by PeterRobertson on topic Re: Video alignment
Your response suggests that you expect videos not to be always centre justified. Is this correct?
This would be surprising considering that it doesn't take long to find other people asking the same question. It seems that this is a common problem and there should be a standard answer to it.
I am unable to give access to the site as that would open it to everybody (this being a public forum) and it is not currently in a fit state for that.
This would be surprising considering that it doesn't take long to find other people asking the same question. It seems that this is a common problem and there should be a standard answer to it.
I am unable to give access to the site as that would open it to everybody (this being a public forum) and it is not currently in a fit state for that.
Please Log in or Create an account to join the conversation.
- Yiota
-
- Visitor
11 years 4 months ago #54065
by Yiota
Replied by Yiota on topic Re: Video alignment
There are standard steps you need to follow in order to align your video to the left but most of the times some classes are being overridden from elements of the user's template. That is why we are asking for a link to the video's page. Since you are not willing to provide it, just follow the steps below and I hope you solve your issue.
To align your video to the left you need to add the following classes to your template's css file or you can modify them in the template override of the plugin (read here www.joomlaworks.net/docs/allvideos under "MVC Templating" on how you can use the overrides).
.avPlayerWrapper {text-align:left;}
.avPlayerWrapper .avPlayerContainer {margin:0;}
PS. If you do not wish to post your link publicly you can sent it through a PM to me.
To align your video to the left you need to add the following classes to your template's css file or you can modify them in the template override of the plugin (read here www.joomlaworks.net/docs/allvideos under "MVC Templating" on how you can use the overrides).
.avPlayerWrapper {text-align:left;}
.avPlayerWrapper .avPlayerContainer {margin:0;}
PS. If you do not wish to post your link publicly you can sent it through a PM to me.
Please Log in or Create an account to join the conversation.
- PeterRobertson
-
Topic Author
- Offline
- New Member
Less
More
- Posts: 6
11 years 4 months ago #54066
by PeterRobertson
Replied by PeterRobertson on topic Re: Video alignment
I sent you a private message. Did you receive it?
Please Log in or Create an account to join the conversation.
- Yiota
-
- Visitor
11 years 4 months ago #54067
by Yiota
Replied by Yiota on topic Re: Video alignment
Yes, I did receive it.
I'm glad you worked it out, finally.
It wasn't a good practice to use tables for your videos.
I'm glad you worked it out, finally.
It wasn't a good practice to use tables for your videos.
Please Log in or Create an account to join the conversation.
- PeterRobertson
-
Topic Author
- Offline
- New Member
Less
More
- Posts: 6
11 years 4 months ago #54068
by PeterRobertson
Replied by PeterRobertson on topic Re: Video alignment
I only tried using a table to get the effect I wanted because all other attempts failed.
In the end you had to supply me with a modified template to do something as simple as align a video.
In the end you had to supply me with a modified template to do something as simple as align a video.
Please Log in or Create an account to join the conversation.
- Yiota
-
- Visitor
11 years 4 months ago #54069
by Yiota
Replied by Yiota on topic Re: Video alignment
I don't understand. Do you still have issues with your video alignment?
Please Log in or Create an account to join the conversation.