Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

video dimensions #48

Open
PlopTheReal opened this issue Aug 24, 2020 · 1 comment
Open

video dimensions #48

PlopTheReal opened this issue Aug 24, 2020 · 1 comment

Comments

@PlopTheReal
Copy link

How can you specify the video height and width?

@zzarcon
Copy link
Owner

zzarcon commented Oct 14, 2020

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>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants