Skip to content

dannywillems/ocaml-cordova-plugin-media-capture

Repository files navigation

ocaml-cordova-plugin-media-capture

LGPL-v3 licensed Build Status

Binding to cordova-plugin-media-capture

What does cordova-plugin-media-capture do ?

This plugin provides access to the device's audio, image, and video capture
capabilities.

Source: cordova-plugin-media-capture

Repository branches and tags

Only gen_js_api version is provided.

How to install and compile your project by using this plugin ?

Don't forget to switch to a compiler >= 4.03.0.

opam switch 4.03.0

You can use opam by pinning the repository with

opam pin add cordova-plugin-media-capture https://github.com/dannywillems/ocaml-cordova-plugin-media-capture.git

and to compile your project, use

ocamlfind ocamlc -c -o [output_file] -package gen_js_api -package cordova-plugin-media-capture [...] -linkpkg [other arguments]

Don't forget to install the cordova plugin media capture with

cordova plugin add cordova-plugin-media-capture

How to use ?

See the official documentation: cordova-plugin-media-capture

About

Binding in OCaml to cordova-plugin-media-capture using gen_js_api.

Resources

License

Stars

Watchers

Forks

Packages

No packages published