Skip to content
Ziggeo Demo for Cordova / PhoneGap
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
www
.gitignore
README.md
config.xml
package.json

README.md

Ziggeo Cordova Demo

This a small sample application on how to use the Ziggeo API for video recording and playback in Cordova / PhoneGap.

Setup

Clone the repository on your machine:

git clone https://github.com/Ziggeo/cordova-ziggeo-demo

Install all dependencies:

npm install

Create a file ./ziggeo-credentials.js with your application token as follows:

window.ziggeoApplication = new ZiggeoApi.V2.Application({
    token: "YOUR-APPLICATION-TOKEN"
});

Prepare

Run the following commands to prepare the Cordova application:

    npm run prepare
    npm run platform-ios
    npm run platform-android

Build

Run the following command to build the Cordova application:

    npm run build

iOS

Make sure to add NS_CAMERA_USAGE_DESCRIPTION and NS_MICROPHONE_USAGE_DESCRIPTION to your Info.plist.

Run

Run the following commands to run the Cordova application on iOS / Android:

    npm run run-ios
    npm run run-android
You can’t perform that action at this time.