ckeditor5
ckeditor5 copied to clipboard
Media embed resizing
📝 Provide a description of the new feature
It should be possible to resize embedded content.
It would make sense to utilize widget resizer that is used in image resize plugin.
Something I'm wondering about is whether resize feature should always be enabled for any media, because I feel like while it make sense for YouTube, Vimeo or Google Maps embed - it doesn't make much sense for Twitter or any text-based embeds.
If you'd like to see this feature implemented, add a 👍 reaction to this post.
Are there any plans of including this feature in the next build? I see it got quite a lot of likes
Yes please this feature would be super handy. Even without drag-and-drop resize, some preset options like 50% 75% etc similar to the image resizing toolbar option would still help a lot.
Is this feature still in the pipline?
I also would like to request this feature.
This feature would be fantastic.
I am also waiting for this feature to be implemented) will really be great)
For the love of GOD please add this feature!
I am also interested in this feature to be added like for the image ImageResize plugin
I am VERY interested in this feature too! it will make the use of YouTube/Vimeo videos usable in this editor. Otherwise it does not make sense if we cannot resize them...
this would be great!
This is absolutely needed ! Thanks
Someone pls work on this and update. It's simple oversight of a necessary feature. Quick win if image resize already has functionality. Thanks if possible!
Any progress now?How we can we resize media embeds videos just like images in the editor?
@zgpnuaa nop everyone still waiting or moved to another editor
Still waiting on this. It'd be a very useful feature
Does anybody know if there's a way to achieve this functionality through a 3rd party plugin or custom scripting?
You can insert a single cell table followed by media embedding within the cell to achieve easy resizing as mentioned in #8468, but this method isn't very intuitive or user friendly.
I was searching for exactly this. Any news?
I did an experiment to override the default video size: I added a div wrapper around the media and set the size of the DIV. That appear to work:
<style>
.abc {
width: 500px;
background-color:red;
}
</style>
<div class="abc">
<figure class="media">
<div data-oembed-url="https://www.youtube.com/watch?v=Bz6FUlHCjA4">
<div style="position: relative; padding-bottom: 100%; height: 0; padding-bottom: 56.2493%;">
<iframe src="https://www.youtube.com/embed/Bz6FUlHCjA4" style="position: absolute; width: 100%; height: 100%; top: 0; left: 0;" frameborder="0" allow="autoplay; encrypted-media" allowfullscreen=""></iframe>
</div>
</div>
</figure>
</div>