Jump to content

Specify the desired width and height for all videos

Featured Replies

When videos are added to the topic, each one has a different width and height, how can we make the width and height of all the same with css?

Link to comment
https://ipbmafia.ru/topic/24590-specify-the-desired-width-and-height-for-all-videos/
Share on other sites

может здесь настроить?

Спойлер

1.thumb.png.23751d0999b4df5a09785afe80c9c45c.png

 

19 minutes ago, SlawkA said:

может здесь настроить?

Thank you. But this item only equalizes the width. But the heights of the videos are different.

48 минут назад, afshin20 сказал:

Thank you. But this item only equalizes the width. But the heights of the videos are different.

вот здесь можешь настроить нужные размеры видео. и код в кастом закинуть

.ipsEmbeddedVideo {
  width: 500px;
  max-width: 750px;
}

Странно, у меня по умолчанию идет все нормально 

Или это болячка последних версий ips4 x?

Edited by aLEX49566

43 minutes ago, SlawkA said:

.ipsEmbeddedVideo {
  width: 500px;
  max-width: 750px;
}

The height cannot be adjusted with this code.
With this code, this video is out of the phone in the corresponding box.
For example, in the video below, I'm going to set a width of 700 pixels and a height of 500 pixels for all uploaded videos.

 

 

 

Edited by afshin20

afshin20 добавь сам height  в код и выстави нужный размер в пикселях. не вижу проблемы.

4 minutes ago, SlawkA said:

помогло?

Да
благодарен

16 minutes ago, SlawkA said:

Are you Farsi?

I know Persian.
But I am actually Kurdish.
This Kurdish song is dedicated to all dear Russians

 

 

19 минут назад, afshin20 сказал:

This Kurdish song is dedicated to all dear Russians

спасибо. я реально всю песню до конца прослушал) удачи

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.


Guest
Ответить в этой теме...

Последние посетители 0

  • No registered users viewing this page.