flutter-quill icon indicating copy to clipboard operation
flutter-quill copied to clipboard

Video block is consuming more space

Open Chandu-bs opened this issue 1 year ago • 12 comments

Is there an existing issue for this?

Flutter Quill version

9.2.2

Steps to reproduce

When uploading the video (youtube or from the system), the embed video block is more than the video itself, which is creating unnecessary space and not looking so good

Expected results

Video block should consume the whole space or else it should consume whatever the size it is taking and give cursor next to it which makes editing UX and UI a good scenario

Actual results

Video block consuming more space

Code sample

nothing changed just took the example code and made run the chrome emulator

Screenshots or Video

image

image

Logs

No response

Chandu-bs avatar Jan 09 '24 09:01 Chandu-bs

Any Updates on this ? And How can i resize the video height and width

AnkithaMadanbhavi avatar Feb 05 '24 15:02 AnkithaMadanbhavi

How to resize video?

ayushkrkarn avatar Feb 20 '24 10:02 ayushkrkarn

Any Updates on this ? And How can i resize the video height and width

himanshu-sharma-55 avatar Feb 20 '24 10:02 himanshu-sharma-55

@Chandu-bs which platform are you using?

Muhammed-Rahif avatar Feb 25 '24 11:02 Muhammed-Rahif

Any updates on how to increse video size and reduce the embeded video consuming more space.

AnkithaMadanbhavi avatar Feb 26 '24 09:02 AnkithaMadanbhavi

@Chandu-bs which platform are you using?

It is for web emulator!

Chandu-bs avatar Feb 26 '24 09:02 Chandu-bs

Any updates on how to increse video size and reduce the embeded video consuming more space.

Sorry came back to this after a while, Checking on this, will let you know if any fix is observed!

Chandu-bs avatar Feb 26 '24 09:02 Chandu-bs

Any updates on how to increse video size and reduce the embeded video consuming more space.

Sorry came back to this after a while, Checking on this, will let you know if any fix is observed!

Thank you so much , would be of great help if this is fixed.

AnkithaMadanbhavi avatar Feb 26 '24 13:02 AnkithaMadanbhavi

Any Updates on this issue ?

AnkithaMadanbhavi avatar Mar 15 '24 11:03 AnkithaMadanbhavi

Any updates on how to increse video size and reduce the embeded video consuming more space.

Sorry came back to this after a while, Checking on this, will let you know if any fix is observed!

Hi, any update on this. Some assistance would be of great help!

AnkithaMadanbhavi avatar Mar 15 '24 11:03 AnkithaMadanbhavi

Hi, I also encounter this problem for weeks and I just found out why it has a lot of empty spaces.

Just explored through the quill extensions code. In flutter_quill_extensions/lib/embeds/video/editor/video_web_embed.dart line 58, they set the container height to 500.

The fastest solution to fix this is by resizing it into a smaller size. But I wonder if it is possible to resize the video's dimension instead of just changing the height.

s-hann avatar Aug 02 '24 06:08 s-hann

Why is it so hard to find resources on Flutter Quill issues? People claim it's the most comprehensive and popular rich text editing package, yet I struggle to find tutorials or solutions for its bugs.

ousseynoukone avatar Aug 02 '24 16:08 ousseynoukone