Back to ziggeo.com

What is the most basic example?

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

<!DOCTYPE html>
<html>
	<head>
		<link rel="stylesheet" href="//assets-cdn.ziggeo.com/v1-stable/ziggeo.css" />
		<script src="//assets-cdn.ziggeo.com/v1-stable/ziggeo.js"></script>
		<script>ZiggeoApi.token = "INSERT_YOUR_TOKEN_HERE";</script>
	</head>
	<body>
		<ziggeo></ziggeo>
	</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 placeholder text 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:

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

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

Have more questions? Submit a request

Comments