Keyword

feature request - Max-width settings

  • shoulders
  • shoulders's Avatar Topic Author
  • Offline
  • Senior Member
More
9 years 1 month ago #151760 by shoulders
feature request - Max-width settings was created by shoulders
I would like the ability to set the 'max-width' of a video when using a responsive box. You should be able to set the default setting in the admin (10px, 400px, 60%, 100%, 100% being default). You should be able to set the wdith without the height and be able to overide it in the {allvideo}...{/allvideo} tags.

NB: max-width possible should be a different setting to the width, I dont know if there would be a need for a min-width aswell

I want this because I have a responsive website but I do not want the video's 100% wide because they look huge and the only other way is to start adding <div> or <p> wrappers and apply css code to them which can get fiddly and messy.

thanks

Please Log in or Create an account to join the conversation.

More
9 years 1 month ago #151807 by Lefteris
Replied by Lefteris on topic feature request - Max-width settings
Hi,

The video width can be set in the plugin tag. More information on this can be found on the documentation page at www.joomlaworks.net/support/docs/allvideos .

Finally, the responsive layout should be left to 100% width. Otherwise it will not be responsive. If you have a responsive website the video will adapt automatically.

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

Please Log in or Create an account to join the conversation.

  • shoulders
  • shoulders's Avatar Topic Author
  • Offline
  • Senior Member
More
9 years 1 month ago #151810 by shoulders
Replied by shoulders on topic feature request - Max-width settings

The video width can be set in the plugin tag. More information on this can be found on the documentation page at www.joomlaworks.net/support/docs/allvideos .


I know, but I want to be able to set a max-width, this feature is either a fixed width or a %

Finally, the responsive layout should be left to 100% width. Otherwise it will not be responsive. If you have a responsive website the video will adapt automatically.


You should use this along with a max-width. style="width: 100%; max-width: 400px;"

Responsive is good until the video takes up half the browser screen. I want to make a youtube video responsive until it get about 400px wide. This allows the video not to look massive on a desktop and resize as needed for mobile devices. This is a well used tecnique

p.s. the reply/suscribe buttons are missing from this thread for me and I was not able to create the thread unless I used a work around.

Thanks

Please Log in or Create an account to join the conversation.


Powered by Kunena Forum