Skip to content
This repository has been archived by the owner on Apr 27, 2021. It is now read-only.

webrtc-capturestill: captured image upside down in Firefox browser for Andriod #44

Open
ishakya opened this issue Jul 6, 2017 · 3 comments

Comments

@ishakya
Copy link

ishakya commented Jul 6, 2017

i implemented capture still in my app, it works for other browsers except for firefox for android (version 54.0.1). The captured image is upside down for firefox for andriod.

@BillTheGoat
Copy link

If you open the demo page at mdn-samples.mozilla.org using ff for android this issue can be reproduced.

@airtung
Copy link

airtung commented Sep 1, 2017

The captured image is upside down for firefox for andriod.
sample picture: http://218.161.101.220/webcam/118706.jpg
i need help,please~~~thanks!

@BillTheGoat
Copy link

Ugly hack which may be useless in many cases. Insert the following in document <head>:

<script>if (navigator.userAgent.match(/mozilla.*mobile/i)){document.write('<style>img{ transform:rotateX(180deg) !important;}</style>');}</script>

If not working, check your user agent since Mozilla has changed it from time to time.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants