NetTalk Central

Author Topic: NT11.01 WebCam Example 79  (Read 4299 times)

KC Chin

  • Newbie
  • *
  • Posts: 30
    • View Profile
    • Email
NT11.01 WebCam Example 79
« on: November 14, 2018, 01:12:11 AM »
Testing WebCam Example 79,

error on procedure, PageFooterTag and PageHeaderTag
XHTML one, condition not p_web.IsMobile()

After I removed it, and webcam just doesn't work.



« Last Edit: November 14, 2018, 09:57:39 PM by KC Chin »

KC Chin

  • Newbie
  • *
  • Posts: 30
    • View Profile
    • Email
Re: NT11.01 WebCam Example 79
« Reply #1 on: November 14, 2018, 09:42:15 PM »
Windows 7 pro, Desktop
Can capture Photo from WebCam on Chrome
Cannot work on Internet Explorer and FireFox

Mobile phone, Samsung Notes 2 (still using it)
FireFox and Chrome, cannot capture Photo

Any setting for Mobile phone and Desktop PC for Internet Explorer and FireFox?

« Last Edit: November 14, 2018, 09:57:49 PM by KC Chin »

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11251
    • View Profile
Re: NT11.01 WebCam Example 79
« Reply #2 on: November 14, 2018, 10:21:04 PM »
Hi KC,

The feature makes use of GetUserMedia. You can see the support list for that here;
https://caniuse.com/#search=getusermedia

It's not going to work in any IE, but should work in Edge. Also on Samsung Internet version 6.2 or later.
Note though that you will need to serve this from a secure (https) server - it's not going to work from an insecure server.
Also not going to work in a PWA installed on iOS.

Note - you can also take photos on a mobile device using the FileUpload field type - with the file type set to Image. This will allow the user to take a photo at that point to use as the upload.

aside: Thanks for the mention of the compile error in the shipping example - I've updated that for build 11.02

cheers
Bruce