What is JotForm?
JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.
At JotForm, we want to make sure that you’re getting the online form builder help that you need. Our friendly customer support team is available 24/7.
We believe that if one user has a question, there could be more users who may have the same question. This is why many of our support forum threads are public and available to be searched and viewed. If you’d like help immediately, feel free to search for a similar question, or submit your question or concern.
Take photo widget not displaying in website?Asked by TriYoga on December 12, 2015 at 12:30 AM
Take photo widget tells me that i need to switch to secured forms and I am not sure how to do it.
It is working in Safari but not in browser
Here is the form:
I checked your website and I don't see that Take Photo widget in it anymore. May I know if you have removed it?
I believe the "Take Photo" widget now requires to open its source on a secure origin, this is related to a function related to the Webcam where the function getUserMedia now requires to be opened or viewed on a secure origin (HTTPS), you can check the published article of Google here. This means, the form needs to be using HTTPS protocol. If you are embedding it on a website, make sure that the JotForm URL in your embed codes are using HTTPS on it. By default, all forms are now SSL enabled. You can learn more about it in this blog post: http://www.jotform.com/blog/175-All-Forms-are-Now-Secure-by-Default-The-SSL-Limits-on-Free-Accounts-are-Lifted-. If you are using an old embed code, just get a fresh copy of it under the "Publish" wizard, then re-embed to your website.
If your website is non-HTTPS, then I believe that would be another possible reason why the widget is not displaying, but let me verify this to our developers to have it checked.
Apologies for the inconvenience.
I just received confirmation from our widget team. For the Take Photo widget, it needs to have it's form URL AND the parent page or the website where it is embedded to be on HTTPS protocol.
As mentioned, this is because of the strict implementation of the getUserMedia() API, which is related to closing the gaps of security flaws on the earlier implementation of this function/API.
Thank you for understanding