项目作者: bizzomate

项目描述 :
Mendix Camera Widget which depends on Media Capture API
高级语言: JavaScript
项目地址: git://github.com/bizzomate/WebCamera.git
创建时间: 2018-08-18T22:29:28Z
项目社区:https://github.com/bizzomate/WebCamera

开源协议:MIT License

下载


WebCamera

Mendix Camera Widget which built on Media Capture API



Releases:

The latest release WebCamera.mpk (v1.0-beta)

Demo

Bizzo Photo Gallery is Progressive Web App uses WebCamera widget as a showcase of the functionality provided by the widget.



Usage:

  • Place this widget in a ‘dataview’ that is initialized with an entity which inherits from the entity ‘System.Image’.

  • This widget serves as a camera sub-application/service and it will overlay the content of the page where it was added, therefore it’s recommended to create a special layout ( empty layout | e.g. my_empty_layout) and add the the widget to an empty page as the image below :



Configuration :

1. Behaviour:

  • onImageSaved select the microflow/action that will be triggered upon successfully saving the captured image.

  • OnSaveClose If your ‘onImageSaved’ action includes ‘closePage’ activity set this prop to ‘Yes’ in order to stop the camera.



2. Camear Configuration:

  • Image Format select the format of the captured image.

  • Image Qulaity set the compression ratio of the captured image.



Issues:

If you encounter any issue while using this widget, please report it here