Cordova Video

What is Cordova?

What is Cordova?

In a nutshell, Cordova lets you build native, mobile applications with HTML + CSS + Javascript, in a one size fits all platforms, in particular in iOS and Android..

We have open-sourced a demo application on Github.

Required Cordova Plugins

Ziggeo requires a few Cordova plugins to be installed in your application to operate properly.

Ensure the following base plugins have been installed:

 

Additionally, make sure to grant the application access to storage, camera and microphone on the device (as we need to access the media hardware in order to create recordings, and we need to be able to cache on the storage).

Sample App

And here is our “Hello World” index.html for Cordova. Please make sure to replace the application token placeholder with your own application token.

							
							
					<!DOCTYPE html>
<html>
    <head>
        <meta name="format-detection" content="telephone=no">
        <meta name="msapplication-tap-highlight" content="no">
        <meta name="viewport" content="user-scalable=no, initial-scale=1, maximum-scale=1, minimum-scale=1, width=device-width">

        <link rel="stylesheet" href="https://assets.ziggeo.com/v2-stable/ziggeo.css" />
        <script src="https://assets.ziggeo.com/v2-stable/ziggeo.js"></script>
        <script>window.ziggeoApplication = new ZiggeoApi.V2.Application({
          token: "XXXXXXXXXXXXXXXX"
        });</script>

        <title>Ziggeo Cordova Demo</title>
    </head>
    <body>
      <h1>Ziggeo Cordova Demo</h1>
      
      <ziggeorecorder ziggeo-width=320 ziggeo-height=240 ziggeo-theme="modern" ziggeo-themecolor="red"></ziggeorecorder>

      <script src="cordova.js"></script>
    </body>
</html>