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

Stream height #86

Open
autsada opened this issue May 13, 2023 · 2 comments
Open

Stream height #86

autsada opened this issue May 13, 2023 · 2 comments

Comments

@autsada
Copy link

autsada commented May 13, 2023

I have a div that contains a Stream component, I set the height of the div to 240px for mobile screens and 480px for large screens. The Stream component is rendered perfectly fit inside the div for large screens, but its height goes full screen for mobile screens (I tested on Chrome and Safari and they both have the same result). My question is how can we make the Stream height fit inside a div for mobile screens? Any suggestion?

@third774
Copy link
Contributor

third774 commented Dec 1, 2023

Hey, there! Would you mind sharing a minimal example in https://codesandbox.io/?

@IonelLupu
Copy link

I have a problem with the height too. The first part of the video is the iphone simulator. As you can see, the video is playing with a small height. In the second part of the video I am showing the chrome browser and how it plays the video at the correct size.

The

Screen.Recording.2024-04-11.at.00.21.00.mov

I tried replicating but codesandbox is not the right tool: link

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

3 participants