I read the docs (https://video-react.js.org/components/player/) and tried to change width and height of a video, but it didn't work. I also found the same problem here: video-react attribute width and height is not working
How can I rezise the video even setting fluid as false and it doesn't working?
My code:
import React, { Component } from 'react';
import './App.css';
import { Player } from 'video-react';
class App extends Component {
render() {
return (
<Player
playsInline
poster="/assets/poster.png"
src="https://media.w3.org/2010/05/sintel/trailer_hd.mp4"
fluid={false}
width={100}
height={50}
/>
);
}
}
export default App;