NetTalk Central

NetTalk Web Server => Web Server - Ask For Help => Topic started by: Robert Iliuta on April 21, 2024, 11:44:50 AM

Title: Webcam(79) example, give error with iPhone
Post by: Robert Iliuta on April 21, 2024, 11:44:50 AM
Hallo,

I compiled (NT14) example Webcam79 and when I try to open QR Code menu I got "Error in site JavaScript".
On my laptop (Win11) it's working fine the camera.
It not support iPhone? Safari? ...

Thank you for any help.
Robert
Title: Re: Webcam(79) example, give error with iPhone
Post by: osquiabro on April 21, 2024, 03:12:42 PM
for me is working with ipad and iphone 14 pro max, NT 14.21, safari and google

https://istpr.com
Title: Re: Webcam(79) example, give error with iPhone
Post by: Bruce on April 21, 2024, 10:08:06 PM
>> "Error in site JavaScript".

what's the error?
Title: Re: Webcam(79) example, give error with iPhone
Post by: Robert Iliuta on April 23, 2024, 04:44:23 AM
Hallo Bruce,

see the pic

Title: Re: Webcam(79) example, give error with iPhone
Post by: Bruce on April 23, 2024, 11:22:04 PM
yes, that tells you an error exists.
Now open the console in your Browser (F12) and see what the error actually is....
Title: Re: Webcam(79) example, give error with iPhone
Post by: rupertvz on April 24, 2024, 06:00:00 AM
Hi Everyone,

I managed to run Webcam(79) on my Windows workstation successfully.
The barcode appears onscreen, but I am not sure how "BEEP" scan the barcode so it inserts into the field.
Is it supposed to auto-scan?

From our server however, I get the same Javascript error, and I am running the exact same set of files.
With WEB1.exe as the application.
Title: Re: Webcam(79) example, give error with iPhone
Post by: Robert Iliuta on May 08, 2024, 01:42:33 AM
Hallo Bruce,

>>yes, that tells you an error exists.
>>Now open the console in your Browser (F12) and see what the error actually is....

I can see that an error exits, but.. how can I do this (F12) on iPhone? on browser I know but on iPhone?

On my laptop (windows11) it works fine but on my iPhone no.
Please can you test and confirm it works on iPhone?
Title: Re: Webcam(79) example, give error with iPhone
Post by: rupertvz on May 14, 2024, 11:30:13 AM
Hi Robert,

I see it works on my iPhone.
I changed the barcode format to EAN and this enabled me to scan successfully.

My web-app was uploaded to the Windows server, opened from my iPhone and scans successfully.