I am using React player version 1.15.3 to play videos in an React web app. I am having an issue with displaying videos from Vimeo, react player seems to shrink them to mini size. I have tried the few things I can think of as well as the responsive player recommendation here https://github.com/CookPete/react-player#responsive-player but still no luck. I need to make it fill its parent container and be responsive as well. Screenshot of issue
Code for react player
<div className='player-wrapper'>
<ReactPlayer
url={props.video.url}
muted
controls
width='100%'
height='100%'
className='react-player'
/>
</div>
CSS Code for react player
.player-wrapper {
position: relative;
padding-top: 56.25%; /* 720 / 1280 = 0.5625 */
}
.react-player {
position: absolute;
top: 0;
left: 0;
}
Thank you for your help