-
Notifications
You must be signed in to change notification settings - Fork 37
Closed
Labels
bugSomething isn't workingSomething isn't working
Milestone
Description
When the CldVideoPlayer loads, the initial player size may be different from the videos if it is not 16:9, which is in the case at a minimum for some of the demo videos we use.
To fix this, we can define a width, height, and aspectRatio on the player initialization config:
width,
height,
aspectRatio: `${width}:${height}`,
Which can be taken straight from the props.
When updating this, you'll need to update the @cloudinary-util/types package to at least 1.0.2 to pull in i think just the aspectRatio.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working