Code Samples

Code Samples

Cinema8 provides a selection of code samples and templates for you to use to accelerate your app development. Browse sample code to learn how to build different components for your applications. 

All of the examples contained in the Cinema8 API documentation set are listed below for quick reference.

 

C8 JS API 

 

C8 DATA API

  • Sample code for data api usage

 

MOBILE DEVELOPMENT

  • Sample codes for using cinema8 videos in native mobile environments. 
    • Related Articles

    • Getting started with C8 API

      Cinema8 APIs to build extensive digital experiences within your videos. Cinema8 has an extensive API to support your business and your customers’ needs while developing interactive video-based solutions. Whether you are developing a web application, ...
    • Widget API

      Widgets are key expansion points of any cinema8 interactive video. While You can use any widget from the widget library you can also develop your own customized widgets with the C8 Widget Development environment. This article  walks you through the  ...
    • Server Side WebHooks

      A webhook (also called a web callback or HTTP push API) is a way for an app to provide other applications with real-time information. A webhook delivers data to other applications as it happens, meaning you get data immediately. Cinema8 Webhooks are ...
    • Authentication & SSO

      By Default Cinema8 Interactive Videos play as anonymous in all platfoms. In this case you can track your users anonymously and all interactions collected by the systems will be tagged as anonymous. To track certain users who has already signed in to ...
    • Javascript WebHooks - Custom CallBacks

      You can add javascript web hooks in to your interactive videos with Cinema8.By this technic you can inject custom javascript codes in to your videos and empower your interactive videos with your business process. You can use "Execute Custom Callback" ...