I am working on react player to embed youtube video. I need to make it responsive. It has title on the top, video and description at the bottom.
How can make the video along with title and description scale responsively at 16:9 ratio.

You can borrow from what Bootstrap 4 has done with their embed utility classes.
K
Ha!
So this is a very abstract recap of what I did at work to achieve this:
let factor = 0.3; // whatever number <ReactPlayer style="width: {factor*16}vw; height: {factor*9}vw" />Provided there are no SyntaxErrors/Typos in there, this should work, but even if there are, you get the idea. You would then be able to control the size of the video via the
factorvariable (even change it programatically if you want to downsize it on scoll for example).