Back to

What is the most basic example?

The most basic example would be an html file index.html like the following one:

<!DOCTYPE html>
		<link rel="stylesheet" href="//" />
		<script src="//"></script>
var application = new ZiggeoApi.V2.Application( {token:"INSERT_YOUR_APP_TOKEN_HERE"} );
</script> </head> <body> <ziggeorecorder ziggeo-theme="modern" ziggeo-themecolor="red"></ziggeorecorder> </body> </html>

You need to sign up for our API first and confirm your email address to make the example work.

After signing up, click on the default application and copy the application token and replace the INSERT_YOUR_APP_TOKEN_HERE placeholder in the code above with it.

Make sure to serve the page within a webserver. The example page should be presenting you with a video recorder.

After you've done your first recording, go back to your dashboard and select the videos tab under your application. Your recording should show up there. Copy the token of video and add the following piece of html to your website:

<ziggeoplayer ziggeo-video="INSERT_YOUR_VIDEO_TOKEN_HERE"></ziggeoplayer>

Replace the INSERT_YOUR_VIDEO_TOKEN_HERE placeholder with your video token. A player should now appear within your page after reloading. Congratulations!

Have more questions? Submit a request