Option to disable letterboxing? (feature request?) #1008
LeoSeyers
started this conversation in
Feature requests
Replies: 1 comment
-
Also desperately need this! Just being able to set |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
I was wondering if there is any option available during instanciation to disable the letterboxing / pillar box?
The idea would be to use the video in "cover" mode as you would use it with an image object-fit property for a good fullscreen experience (while preserving the video original ratio). Is this a feature you would consider implementing in the future?
Alternatively I'm thinking in a way to implement it.
The simplest solution I came up with was to get the video sizing and upscale the iFrame accordingly (+ having an additional portrait or landscape video check) and offsetting its position while hiding overflow on the parent container.
Have a good day
Leo
Beta Was this translation helpful? Give feedback.
All reactions