---
title: 'Add option to define the width of the inserted video (mp4)'
url: 'https://getgrav.org/forum/support/add-option-to-define-the-width-of-the-inserted-video-mp4-t1221'
markdown: 'https://getgrav.org/forum/support/add-option-to-define-the-width-of-the-inserted-video-mp4-t1221.md'
date: '2026-06-21'
description: "Hi, inserted images scale nicely to 100% width. inserted videos don't scale, they take the native width, which is not responsive to the browser. as a work"
---

[Support](https://getgrav.org/forum/support)

#   Add option to define the width of the inserted video (mp4) 

 Solved by pamtbaau [View solution](https://getgrav.org/forum/support/add-option-to-define-the-width-of-the-inserted-video-mp4-t1221#post-38348)

  Started by Mariano 3 years ago · 2 replies · 2713 views    

 [3 years ago](https://getgrav.org/forum/support/add-option-to-define-the-width-of-the-inserted-video-mp4-t1221#post-38346 "Permalink") 

Hi,
inserted images scale nicely to 100% width.
inserted videos don't scale, they take the native width, which is not responsive to the browser.

as a work around I change

```
![example](example.mp4 "this is an example") 
```

into the html code and include

```
<video style="width:100%" 
```

this works fine, although the absolute url to the video can change when the number prefix of the menu changes .. :-(

can you include the width: 100% into the next release?

thanks,

Mariano

last edited 02/16/24 by pamtbaau

 [3 years ago](https://getgrav.org/forum/support/add-option-to-define-the-width-of-the-inserted-video-mp4-t1221#post-38348 "Permalink")  Solution 

@favorinus, Please help the community help you...

How you can help the community is well laid out in sticky post /forum/general/welcome-to-the-grav-cms-community-forums-t8083

Please update you post.

Btw. feature request should be made in the Github repository of either Grav, theme, or plugin.

But before creating a feature request, take a look at the [docs](https://learn.getgrav.org/17) and learn how [attributes](https://learn.getgrav.org/17/content/image-linking) can be added when adding image/video in Markdown, how [custom css](https://learn.getgrav.org/17/themes/customization) can be added to a theme, etc.

last edited 02/15/24 by pamtbaau

 [3 years ago](https://getgrav.org/forum/support/add-option-to-define-the-width-of-the-inserted-video-mp4-t1221#post-38351 "Permalink") 

Thank you,
yes I solved it using custom.css .

[Log in](https://getgrav.org/login?return=%2Fforum%2Fsupport%2Fadd-option-to-define-the-width-of-the-inserted-video-mp4-t1221) to reply.

###  Suggested topics

 | Topic | Participants | Replies | Views | Activity |
|---|---|---|---|---|
| [retina images are shown in Admin (but not all of them)](https://getgrav.org/forum/support/retina-images-are-shown-in-admin-but-not-all-of-them-t9504)    [Support](https://getgrav.org/forum/support) · by Anna, 23 hours ago |  | 1 | 32 | [20 hours ago](https://getgrav.org/forum/support/retina-images-are-shown-in-admin-but-not-all-of-them-t9504 "by Anna") |
| [page.date != page.header.date, now my collection sorting is broken (bug? by design?)](https://getgrav.org/forum/support/page-date-page-header-date-now-my-collection-sorting-is-broken-bug-by-design-t9484)    [Support](https://getgrav.org/forum/support) · by Anna, 2 weeks ago |  | 1 | 231 | [2 weeks ago](https://getgrav.org/forum/support/page-date-page-header-date-now-my-collection-sorting-is-broken-bug-by-design-t9484 "by Anna") |
| [it's no possible sign in with email......](https://getgrav.org/forum/support/it-s-no-possible-sign-in-with-email-t9462)    [Support](https://getgrav.org/forum/support) · by webmasterodp, 1 month ago |  | 4 | 362 | [1 month ago](https://getgrav.org/forum/support/it-s-no-possible-sign-in-with-email-t9462 "by webmasterodp") |
| [Site stopped working overnight - 'not writeable' error](https://getgrav.org/forum/support/site-stopped-working-overnight-not-writeable-error-t9445)    [Support](https://getgrav.org/forum/support) · by nwhitfield, 1 month ago |  | 2 | 335 | [1 month ago](https://getgrav.org/forum/support/site-stopped-working-overnight-not-writeable-error-t9445 "by pamtbaau") |
| [MIgrating to 2.0](https://getgrav.org/forum/support/migrating-to-2-0-t9437)    [Support](https://getgrav.org/forum/support) · by stell, 1 month ago |  | 5 | 625 | [1 month ago](https://getgrav.org/forum/support/migrating-to-2-0-t9437 "by stell") |
