Livecode manifest settings

David Bovill david.bovill at gmail.com
Mon Jan 28 17:07:50 EST 2019


I'm hoping that a settings in the Livecode manifest file would allow the
embedded browser widget to access the camera. According to the Mozilla info
on the HTML5 API:

   -
   https://developer.mozilla.org/en-US/docs/Web/API/MediaDevices/getUserMedia#Permissions


To use getUserMedia() in an installable app (for example, a Firefox OS
app), you need to specify one or both of the following fields inside your
manifest file:

"permissions": {
>   "audio-capture": {
>     "description": "Required to capture audio using getUserMedia()"
>   },
>   "video-capture": {
>     "description": "Required to capture video using getUserMedia()"
>   }
> }


I'm guessing this might be Specific to Firefox? Or is it relevant to
Livecode apps.  I've checked Livecode Indy and while it is possible to use
the camera controls - you don't get access to the nice features you get if
you just use the browser widget and HTML5 api - so ideally it would be
great to get this working.



More information about the use-livecode mailing list