react-video-renderer icon indicating copy to clipboard operation
react-video-renderer copied to clipboard

video dimensions

Open PlopTheReal opened this issue 5 years ago • 1 comments

How can you specify the video height and width?

PlopTheReal avatar Aug 24 '20 19:08 PlopTheReal

I believe you will do that by:

<Video src="https://mysite.com/video.mp4">
  {(video, state, actions) => (
    <div style={{width: 100, height: 100}}>
      {video}
   </div>
  )
</Video>

zzarcon avatar Oct 14 '20 22:10 zzarcon