New Dynamic YouTube Gallery - Embed YouTube Playlist, Channel, Live Stream in minutes. Read More

Module mod_allvideoshareplayer dimensions

  • peppe irace
  • Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 4
  • Thank you received: 0

Module mod_allvideoshareplayer dimensions was created by peppe irace

Hi
I have a Module mod_allvideoshareplayer and I'd like to set it in square shape (600 x 600), and so I did in the module settings, but the dimension still remail rectangular

what have I do to have it square shaped?

for better understanding please look at
www.illustrationmarathon.com/marathon2

Thanks

thanks
I did it but nothing is changed
other suggestions?
Last edit: 11 years 2 weeks ago by peppe irace. Reason: not resolved
11 years 2 weeks ago #7326

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

  • Posts: 2518
  • Thank you received: 1463

Replied by Administrator on topic Re: Module mod_allvideoshareplayer dimensions

When "Responsive" is enabled, the player will not look for the custom dimensions and the width is always set to 100% and the height scales to 9:16 ratio. But, still we can play some CSS tricks to get the square shaped video.

- Open {root}/marathon2/components/com_allvideoshare/css/allvideoshare.css

- Add the following CSS code to the bottom of the file.
.uk-panel .size22 .avs_player_responsive {
  padding-bottom:100% !important;
}
- Save the changes and check by clearing your browser cache.

Hope, this solved your issue !!!
Last edit: 11 years 2 weeks ago by Administrator.
11 years 2 weeks ago #7327

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

  • peppe irace
  • Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 4
  • Thank you received: 0

Replied by peppe irace on topic Re: Module mod_allvideoshareplayer dimensions

thanks
I did it but is still the same (rectangular)
11 years 2 weeks ago #7328

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

  • Posts: 2518
  • Thank you received: 1463

Replied by Administrator on topic Re: Module mod_allvideoshareplayer dimensions

No. It should work. Have you disabled the "Responsive" option ? If yes, kindly try enabling it.
11 years 2 weeks ago #7330

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

  • peppe irace
  • Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 4
  • Thank you received: 0

Replied by peppe irace on topic Re: Module mod_allvideoshareplayer dimensions

the responsive option in general configuration >general settings io on yes
11 years 2 weeks ago #7331

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

  • Posts: 2518
  • Thank you received: 1463

Replied by Administrator on topic Re: Module mod_allvideoshareplayer dimensions

Sorry, I have suggested the wrong CSS code previously. Kindly try using the following code,
div.size22 .avs_player_responsive {
  padding-bottom:100% !important;
}
11 years 2 weeks ago #7332

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

Time to create page: 0.120 seconds

We accept cookies to provide you the best viewing experience. By using our services, you agree to our use of cookies