Documentation

  • JavaScript Version
  • JavaScript Revision
  • Application Token

Here is a sample index.html:

<!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-cdn.ziggeo.com/{%= JAVASCRIPT_REVISION %}/ziggeo.css" />
        <script src="https://assets-cdn.ziggeo.com/{%= JAVASCRIPT_REVISION %}/ziggeo.js"></script>
        <script>ZiggeoApi.token = "{%= APPLICATION_TOKEN %}";</script>

        <title>Ziggeo Cordova Demo</title>
    </head>
    <body>
        <h1>Ziggeo Cordova Demo</h1>
        <ziggeo ziggeo-width=320 ziggeo-height=240></ziggeo>
        <script src="cordova.js"></script>
    </body>
</html>

Here is a sample index.html:

<!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-cdn.ziggeo.com/{%= JAVASCRIPT_REVISION %}/ziggeo.css" />
        <script src="https://assets-cdn.ziggeo.com/{%= JAVASCRIPT_REVISION %}/ziggeo.js"></script>
        <script>ZiggeoApi.token = "{%= APPLICATION_TOKEN %}";</script>

        <title>Ziggeo Cordova Demo</title>
    </head>
    <body>
        <h1>Ziggeo Cordova Demo</h1>
        <ziggeorecorder></ziggeorecorder>
        <script src="cordova.js"></script>
    </body>
</html>