Video player proper scaling

Is there a way to scale the video properly so that it won’t be too tall or too wide?
I want the video player to be 30% tall and 100% wide, but the video should resize to fit in there like youtube does. And if the video is vertical then the video player size stays the same but the video has black bars or something like that. I was testing it with meta data of the video but couldn’t come up with anything.

1 Like

You Can You Use Kodular,s Metadata Component

blocks (4)

Thanks, I tried it before too, but then if the video is portrait the size of the video is the size of the screen which I don’t want. I want it to be the same size as the video player and scale it down to fit and have black bars or whatever at the sides. Do you know how to do it?

1 Like

Take a look here

Wow this looks amazing, thank you. Do I have to do something so that it would scale properly or there is a block for it or it’s automatic?

1 Like

Its automatic

That’s awesome man. Thank you so much! :smiley:

1 Like

I have few questions about the extension.

  1. How can I set the with percent and height percent of the player?
  2. Isn’t the path of the video and the video source the same thing?
    3.My thumbnail is showing, but when I play the video nothing happens.


Ask your questions in the main topic.

Okay, sorry. Thanks.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.