Crop video instead of showing stripes to correct bad aspect ratio in mediaContent on TVML

Hi everyone,

We have made a tvOS app with TVML and TVJS, where we have a preset layout with some shelfs and lockups with mediaContent elements. In this elements we intend to play inline videos. However, when the aspect ratio of the video is not the same as the image's one, instead of cropping the video, as it would do with an image, two black stripes appear on top and bottom. We would like to change this behaviour in a way that instead of showing the black stripes it crops the video.


It has to be noticed that the video cannot be cropped previously and the layout should not be changed since it is predefined and should not change when the videos are changed.


Is there any way to do that?


I hope I have explained myself well, many thanks