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

Player Size

  • gabriele
  • Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 3
  • Thank you received: 0

Player Size was created by gabriele

Hi, I have a problem with the player size.

I have only one player, I set its size to 700 x 400 (default).
I embed video from youtube.
When i play the video the size of the player si 700 x 150 instead.

I try all kind of Stretch bat nothing changes.

Can someone give me some help?

Thanks a lot.

Gabriele
11 years 2 weeks ago #5490

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

  • Posts: 2478
  • Thank you received: 1451

Replied by Administrator on topic Re: Player Size

Apologies!

"Stretch" option don't work for YouTube type. It could only be displayed in "Aspect ratio".
Last edit: 11 years 2 weeks ago by Administrator.
11 years 2 weeks ago #5491

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

  • gabriele
  • Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 3
  • Thank you received: 0

Replied by gabriele on topic Re: Player Size

Thanks for the fast asware.

I have tryed to upload an mp4 video, with Stretch option to "original" but i get the same result

if you want to take a look here
lnx.scubalibre.it/index.php?option=com_a...y=default&Itemid=654

the XXX is the mp4 one, the others two are from youtube.

the player has 700 x 400 as size but as you can see it shows only 700 x 150.

It could be a problem of my layout?

Thanks
Gab
11 years 2 weeks ago #5493

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

  • Posts: 2478
  • Thank you received: 1451

Replied by Administrator on topic Re: Player Size

Yes, I found a CSS conflict in your template.

- Open lnx.scubalibre.it/templates/joomspirit_76/css/main.css

- Search for
img, embed, object, video, .scale {
/* Part 1: Set a maxium relative to the parent */
max-width:100%;
/* Part 2: Scale the height according to the width, otherwise you get stretching */
height:auto;
vertical-align: middle;
border: 0;
-ms-interpolation-mode: bicubic;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}
and replace it as
img, video, .scale {
max-width:100%;
height:auto;
vertical-align: middle;
border: 0;
-ms-interpolation-mode: bicubic;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}
- Then check at your front-end by clearing your browser cache.

Hope, this solved your issue !!!
The following user(s) said Thank You: gabriele
11 years 2 weeks ago #5495

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

  • gabriele
  • Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 3
  • Thank you received: 0

Replied by gabriele on topic Re: Player Size

You did it!

Thanks a lot!! now im gonna try to undersand how :)

Gab
11 years 2 weeks ago #5497

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

Time to create page: 0.106 seconds

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