Since you're not logged in we'll create an application for you.
No need to sign up for an account, just click Start to continue.
Note:To get access to all features sign up for a Free Account.
HEADER CODE
To install Ziggeo and start your application you need to add this code inside your page's <head></head> tag:
<link rel="stylesheet" href="//assets.ziggeo.com/v2-stable/ziggeo.css" /> <script src="//assets.ziggeo.com/v2-stable/ziggeo.js"></script> <script> var ziggeoApp = new ZiggeoApi.V2.Application({ token: "", }); </script>
The header code can be edited to customize the application. You could, for example, change the application's default language. Click here for more information.
Important: Your unique application token.
We have auto-generated this application token. It identifies your Ziggeo application and all associated videos. It is personal to you.
Use this code to display the recorder on your webpage:
<ziggeorecorder ziggeo-timelimit=15 ziggeo-width=320 ziggeo-height=240 ziggeo-theme='modern' id='myRecorder' ></ziggeorecorder>
Decoding the Code:
There are also other embedding methods you can use to embed the recorder to your page.
Every video recorded with Ziggeo has it's own unique token, which you can later use to locate the video and display it on your page. The easiest way to retrieve the token of a recorded video is by listening for the verified event. This is triggered after the video is uploaded and verified that it can be processed.
Place the following <script> near the end of your page, right before the closing </body> tag, to listen for the verified event.
<script> ziggeoApp.on("ready", function() { // Let's get the ziggeorecorder element reference var element = document.getElementById('myRecorder'); // Now let's get the actual Ziggeo embedding / object that we can use var recorder = ZiggeoApi.V2.Recorder.findByElement(element); // Now you can listen for the verified event recorder.on("verified", function() { var videoToken = recorder.get('video'); // Video token is available after the event is triggered alert("The video with token " + videoToken + " has been submitted!"); }); }); </script>
There are other events you can listen to, which will help you customize the behavior of the recorder. Click here for a list of embedding events.
Here is the video you just submitted.
Use this code to display the player on your webpage:
<ziggeoplayer ziggeo-video='' ziggeo-width=320 ziggeo-height=240 ></ziggeoplayer>
Decoding the Code:
There are also other embedding methods you can use to embed the player to your page.
The player also has a list of events you can listen to, which will help you customize it's behavior.
Automate the display of videos by querying Ziggeo for the list of all recorded videos.
Option 1: Install one of our server-side SDKs to obtain a list of videos.
Option 2: Use Javascript on the client-side to dynamically display videos using e.g. JQuery. To do that you could copy this code:
<script> ZiggeoApi.V2.Application.getDefault().videos.index().success(function (videos) { for (var i = 0; i < videos.length; ++i) $("body").append("<ziggeoplayer ziggeo-video='" + videos[i].token + "'></ziggeoplayer>"); }); </script>Note: This is disabled by default for security purposes. See here.
Congrats! You have just completed Ziggeo's Quick Start Tutorial.
Can you believe how simple it was? In just 6 steps, you chose your application, got the needed header, recorded your video and played it back. Next to that, you already know how to create your own videos gallery and everything with few simple lines of code! Of course, this is just scratching the surface of what you can actually do.
Did we tickle your imagination? Do you have any questions? If you do just let us know by contacting us over email: support@ziggeo.com. Were are here to help and be there for you as you go through each step, so extend your hand and reach out to us when needed.
Sign up for a FREE account on Ziggeo - you can try out all our features and get your own personalized dashboard.
Sign up for Ziggeo