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

Camera shows flipped image #997

Closed
yankedev opened this issue Nov 24, 2018 · 1 comment
Closed

Camera shows flipped image #997

yankedev opened this issue Nov 24, 2018 · 1 comment

Comments

@yankedev
Copy link

When using capacitor camera plugin in a browser the picture is flipped horizontally.
This seems a common behaviour on browser camera:
https://christianheilmann.com/2013/07/19/flipping-the-image-when-accessing-the-laptop-camera-with-getusermedia/

In the above link it is recommended to flip it using CSS classes:
video {
-webkit-transform: scaleX(-1);
transform: scaleX(-1);
}

Could you add this classes as default values to the camera plugin?
Or how could I set these classes in an Ionic4 application?

@yankedev
Copy link
Author

I opened this issue in the pwa-elements repository.
It should be fixed there

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

1 participant