Responsive `width`
See original GitHub issueHi,
Is it possible to make the <ReactPlayer>
width
responsive?
For example to inherit the width of the div
or td
in which is placed?
Thanks
Issue Analytics
- State:
- Created 7 years ago
- Reactions:1
- Comments:11 (5 by maintainers)
Top Results From Across the Web
Responsive CSS Width - DEV Community
Basically, we're saying the container element should have a width of 1200px but at no point should it exceed the maximum width of...
Read more >HTML Responsive Web Design - W3Schools
Responsive images are images that scale nicely to fit any browser size. Using the width Property. If the CSS width property is set...
Read more >Responsive web design basics
To attempt to provide the best experience, mobile browsers render the page at a desktop screen width (usually about 980px , though this...
Read more >Responsive design - Learn web development | MDN
To ensure media is never larger than its responsive container, the following approach can be used: img, picture, video { max-width: 100%; }...
Read more >5. min width and max width - Responsive CSS Tutorial
This tutorial is a part of "The Responsive Web Design Bootcamp" on Scrimba. Explore the full course here: ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
You should be able to pass
100%
to thewidth
andheight
props and it will fill it’s container. If you want responsive width and aspect ratio, do something like this:Nearly a year late but it’s finally in there: https://github.com/CookPete/react-player#responsive-player 😞