Comments (7)
Hi @OrangeDrangon,
Please be more specific what you mean.
Did you encounter any issues?
If so, please provide more information and/or a minimal code sample that reproduces the issue.
Thanks
from ngx-webcam.
Let me explain. Your outstanding plugin works every where I have tested it except for on IOS after I add it to the home screen. I was wondering if this was on your end or mine. Or just the platform in general. My guess is that it is IOS but I was just curious. I will get my code on GitHub in the upcoming hours
from ngx-webcam.
The ngx-webcam plugin works on iOS, as long as the OS is up-to-date enough. I believe Apple added the required APIs in iOS >=11.
Please verify that your iOS device is running the latest OS version.
Thanks
from ngx-webcam.
I am running Ios 12 it only does not work when I add the app to the home screen if that makes sense. And in the main browser it works
from ngx-webcam.
I tried it with the demo page that is linked in the readme. I did the following:
- opened the demo link on the iPhone in safari
- added the web page to the home screen
- closed safari
- opened the home-screen bookmark
- safari opened and asked for webcam permissions
- after clicking „allow“ the webcam was shown successfully
Please verify the steps yourself. Launching the same url in the same browser from within the browser or homescreen should not make any difference.
from ngx-webcam.
This problems occurs when I have an app manifest.json
and a service-worker.js
making it a PWA. After further research I believe this is a limitation of PWAs on Apple's end. Here is an example so you can mess around with it.
This PWA was not working when added to home screen on IOS not tested on Android as of now.
from ngx-webcam.
I noticed that when adding your website to the home screen, iOS doesn‘t save the whole URL but just the base url.
This
https://orangedrangon.github.io/PWA-Snapchat/
Becomes this link on the homescreen:
https://orangedrangon.github.io/
When opening from the home screen it says that there‘s no webpage under this address, because the path information is not preserved.
That may be the issue.
You could try to work around it by having it hosted on a private domain that i.e. forwards to the right path, or just run your app under the domain without additional path i formation in the url. This might work.
However it doesn‘t seem to be a limitation with this library but a behavior of PWAs.
Thanks
from ngx-webcam.
Related Issues (20)
- Is this project maintained or dead? HOT 2
- Not all code paths return a value HOT 2
- After unsubscribe, seems camera is still active HOT 3
- Portrait mode HOT 2
- Camera view finder does not show up in ios HOT 1
- Can't set default camera to rear camera HOT 1
- It's possible to zoom in this plugin?
- No source names in Firefox
- Is it possible to ignore wide angle camaras? HOT 1
- Video Record Not available!
- Camera does not stop even after component is destroyed HOT 2
- Error while try to flip between camera on android device on Firefox browser HOT 1
- Angular 16 support
- Green screen HOT 1
- Angular Not Recognizing Webcam Element
- Uncaught (in promise) DOMException: The play() request was interrupted by a new load request
- Full width and height camera HOT 2
- Angular 14.2.8: Cannot find module '@angular/core' or its corresponding type declarations HOT 1
- Camera switch issues and black screen
- Camera Not Working on Samsung Phone HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ngx-webcam.