WebAp on mobile - access device camera (front and back)

13 views
Skip to first unread message

Hugh Evans

unread,
Apr 22, 2018, 4:02:10 PM4/22/18
to Angular and AngularJS discussion
How do I implement the selection of the Users Cameras... in some instances I want to take "selfies" - in others I want to use the back camera.... How would I do this in angular 5 - Is there an angular component or web component.HTML5 ... can it even be done?

Sander Elias

unread,
Apr 23, 2018, 10:18:49 AM4/23/18
to Angular and AngularJS discussion
Hi Hugh,

On modern browsers, there is a way to requests what cam's are available, and let the user pick which one they want to use.
For more information see MDN

Regards
Sander

Hugh Evans

unread,
May 28, 2018, 8:54:13 PM5/28/18
to ang...@googlegroups.com
Thank you... this worked perfectly.
Hugh Evans


--
You received this message because you are subscribed to a topic in the Google Groups "Angular and AngularJS discussion" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/angular/fsR7njUcRQ0/unsubscribe.
To unsubscribe from this group and all its topics, send an email to angular+u...@googlegroups.com.
To post to this group, send email to ang...@googlegroups.com.
Visit this group at https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages