| FORUM

FEDEVEL
Platform forum

Video player bug

AlexanderBrevig , 01-26-2022, 03:27 AM
If on a super-wide monitor; going full screen will scale the video to full width, losing quite a lot of the bottom of the video (because aspect is kept). I ended up watching the content on my laptop.
robertferanec , 01-26-2022, 10:31 PM
@AlexanderBrevig thank you for pointing this out. It is on our TODO list to fix this. It's not super simple (the player we use doesn't have any specific options for super-wide monitors), so we have not done it yet.
AlexanderBrevig , 01-27-2022, 12:29 AM
I completely understand. Everything else worked a treat!

For fun I just had to look around, and I found a super simple fix!

If you change from using 100% in .mainVideoPlayer to this it works:
Code:
.mainVideoPlayer {  width: 100vw;  height: 100vh;  max-width: 100%;  max-height: 100%;}
robertferanec , 01-27-2022, 03:03 AM
Thank you @AlexanderBrevig I am sending this to our software engineer to have a look. If it was so simple, than it would be great!
robertferanec , 01-27-2022, 11:37 AM
Our software engineer made some changes. Please could you try?
AlexanderBrevig , 01-27-2022, 03:57 PM
Works a treat!! Forum pull requests Who need git anyway
Thanks for the quick response and fix, will enjoy the upcoming re-run 👍
Use our interactive Discord forum to reply or ask new questions.
Discord invite
Discord forum link (after invitation)

Didn't find what you were looking for?