How to resize video in react-native-video-player?

Hi! I use react-native-video-player and faced such problem that in landscape mode the video goes beyond the boundaries of the visible region and shifts the controls down navigation.
ac0cde37d27d4b7e8d734ecace404d32.png
I use the following code:
import React { Component } from 'react';
import { View Text } from 'react-native';
import VideoPlayer from 'react-native-video-player';

export default class VideoPage extends Component {

 render() {
 return (
<view>
 <videoplayer 0 video="{{" uri: 'file: storage emulated download sample_video.mp4' }} videowidth="{1280}" videoheight="{720}">
</videoplayer></view>
);
}
}

Change settings videoWidth or videoHeight does nothing.
Thank you!
August 19th 19 at 23:23
1 answer
August 19th 19 at 23:25
You can, but you need to solve the problem with a change of orientation from landscape to portrait

import React { Component } from 'react';
import { View Text } from 'react-native';
import VideoPlayer from 'react-native-video-player';

export default class VideoPage extends Component {

 render() {
 return (
 <view style="{{height:" 650, width: 1300, paddingleft: 155}}>
 <videoplayer 0 video="{{" uri: 'file: storage emulated download sample_video.mp4' }}>
</videoplayer></view>
);
}
}

Find more questions by tags AndroidReact