Documentation

Adding 3 lines to your <head> section of your HTML pages will allow you to create your embeddings as you like them.

There are of course few more options that you can choose from, making each setup unique to your design and the following tool will help you:


To know which one you may need, feel free to check JavaScript SDK Revision History

Code that you can simply copy to your website

    <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 = "APPLICATION_TOKEN";</script>
  • The code above tells the browser where to get the CSS that it needs to style the embedding and the code to make it all run. These would be the ziggeo.css and ziggeo.js files.
  • Following them is the application token that the recorded videos will be saved under or videos played from. Without it we would not be able to do neither play nor record.
  • We have selected which language we want to use for our video recorder and player. It will help us get the messages shown in the language used most.
  • cdn = true determines if we would we use the CDN for playback. This depends on your own preferences.
  • WebRTC is the way to go if you want to avoid using Flash. A note should be made that Safari does not yet support WebRTC all other browsers however do and are working together to improve it further.
  • resumable = true part of the code tells us that we would like to be able to continue with uploading if by some chance the uploading stopped at some point (for example if the connection is broken at one point).