Set video element width

Created on 10 January 2022, almost 3 years ago
Updated 6 February 2024, 11 months ago

Problem/Motivation

Currently we don't style the video element, so it can be that if the video has a big width and height, that it will render beyond it's parent element.

Steps to reproduce

1. Enable social_embed
2. Upload a local video file and copy its URL
3. Create a new basic page and click the 'Media' button in CKEditor
4. Paste and embed the local video that you uploaded in the previous step.
5. See that the video is rendered beyond its parent width.

Proposed resolution

Setting the video element width to 100% should resolve all issues.

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Fixed

Version

2.1

Component

Code

Created by

🇸🇮Slovenia nkoporec Slovenia

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024