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

Video tag WebRTCView aspect ratio #12

Closed
ljcp opened this issue Feb 28, 2019 · 4 comments
Closed

Video tag WebRTCView aspect ratio #12

ljcp opened this issue Feb 28, 2019 · 4 comments
Labels
enhancement New feature or request

Comments

@ljcp
Copy link

ljcp commented Feb 28, 2019

Hi there ,

it's posible to use stretch or object-fit with

<WebRTCView></WebRTCView>

to conserve the aspect ratio of the video ?

thanks a lot.

@triniwiz
Copy link
Owner

Atm no but I can look at adding it

@triniwiz triniwiz added the enhancement New feature or request label Feb 28, 2019
@triniwiz
Copy link
Owner

Now you can use scaling="fit" or scaling="fill" or scaling="none"

@ljcp
Copy link
Author

ljcp commented Feb 28, 2019

oh wow ! you are fast , thank you so much !

@Who-Code
Copy link

@ljcp have you tried this ?
i don't get it working and on ios my picture is stretched

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants