nativescript-videoplayer
nativescript-videoplayer copied to clipboard
Background video
Hi,
I need to insert a video as a background, so I put it inside an AbsoluteLaout before my FlexboxLayout, but if the aspect ratio of the video is not identical to the aspect ratio of the phone I see whitespace.
I would like to have a real full screen video, though it could seems cropped
Try setting fill
From the docs:
| fill - (boolean) | If true, the aspect ratio of the video will not be honored and it will fill the entire space available |
|---|
fill property doesn't maintain the aspect ratio, I need to "zoom" video to the center covering all the screen