Skip to content

Add support for forcing portrait (vertical) video orientation in ParticipantView #1980

@mdbep

Description

@mdbep

Which package/packages do you use?

  • @stream-io/video-react-sdk
  • @stream-io/video-react-native-sdk
  • @stream-io/video-client

Hi team 👋

I’ve been working with the Video React SDK and the ParticipantView component, but I haven’t found any way to force or lock the video layout into portrait (vertical) orientation.

I went through the documentation
and examples, but couldn’t find any prop, style option, or configuration that allows controlling or fixing the video aspect ratio or orientation.

It would be really useful to have an option or prop like:

or something similar, especially for mobile-first or vertical video web applications (not React Native).

Right now, my workaround is to override the default styles using custom CSS, but it would be great if this could be achieved more cleanly via a built-in prop or configuration option.

Thanks a lot for the awesome SDK! 🙌

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions