Home

Awesome

ocaml-cordova-plugin-media

LGPL-v3 licensed Build Status

Binding to cordova-plugin-media

What does cordova-plugin-media do ?

This plugin provides the ability to record and play back audio files on a
device.

Source: cordova-plugin-media

Repository branches and tags

Only gen_js_api version is provided.

The binding has not been tested but it compiles.

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 https://github.com/dannywillems/ocaml-cordova-plugin-media.git

and to compile your project, use

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

Don't forget to install the cordova plugin media with

cordova plugin add cordova-plugin-media

How to use ?

See the official documentation: cordova-plugin-media