# האם יש דרך להקטין הטמעות Youtube?

**URL:** https://meta.discourse.org/t/is-there-any-way-to-make-youtube-embeds-smaller/303174
**Category:** Development
**Created:** [10 באפריל,‏ 2024,‏ 3:58am UTC](https://meta.discourse.org/t/is-there-any-way-to-make-youtube-embeds-smaller/303174 "2024-04-10T03:58:51Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![DonkeyKongEnjoyer](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/donkeykongenjoyer/32/377672_2.png) [@DonkeyKongEnjoyer](https://meta.discourse.org/u/DonkeyKongEnjoyer)
#### Post date: [10 באפריל,‏ 2024,‏ 3:58am UTC](https://meta.discourse.org/t/is-there-any-way-to-make-youtube-embeds-smaller/303174/1 "2024-04-10T03:58:51Z")

</div>

As you can see,the Youtube embed takes up the entire topic body. I believe this is happening, because I’ve widened the topic body width and d-max width using CSS. I’m using the Default discourse theme.

 ![m1](https://global.discourse-cdn.com/meta/original/4X/6/2/d/62d3a75871a48c487600ab1a4a69d6f1c3cbe078.jpeg)

Ideally, I’d like for Youtube embeds to appear much smaller within the topic body.

Is there any way to achieve this, possibly using CSS, without sacrificing the wider width of the topic body?

Thanks!

---

<div class="post-metadata">

### Author: ![Arkshine](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/arkshine/32/298682_2.png) [@Arkshine](https://meta.discourse.org/u/Arkshine)
#### Post date: [10 באפריל,‏ 2024,‏ 4:27am UTC](https://meta.discourse.org/t/is-there-any-way-to-make-youtube-embeds-smaller/303174/2 "2024-04-10T04:27:17Z")

</div>

Hi, welcome to Meta! 👋

You can try this CSS:

```css
.lazy-video-container {
    height: auto;
    padding: 0;
    max-width: 500px; /* adjust here, use the unit you want */
}

```

---

<div class="post-metadata">

### Author: ![DonkeyKongEnjoyer](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/donkeykongenjoyer/32/377672_2.png) [@DonkeyKongEnjoyer](https://meta.discourse.org/u/DonkeyKongEnjoyer)
#### Post date: [10 באפריל,‏ 2024,‏ 4:32am UTC](https://meta.discourse.org/t/is-there-any-way-to-make-youtube-embeds-smaller/303174/3 "2024-04-10T04:32:42Z")

</div>

This worked! Thank you so much!

---

<div class="post-metadata">

### Author: ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)
#### Post date: [10 במאי,‏ 2024,‏ 4:33am UTC](https://meta.discourse.org/t/is-there-any-way-to-make-youtube-embeds-smaller/303174/4 "2024-05-10T04:33:16Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
