Livestream Studio - What is Livestream Embed?

Want to combine Citizen Tickets secure ticketing with your own hosted website? “Livestream Embed '' allows you to do this. "Livestream Embed'' is the process of adding a ticketed livestream to your website using an online video platform. 

 

  1. Select the Dashboard of the livestream event.

  2. Click “Setup”.

  3. Click “Livestream Studio”.

  4. Click the tab “</> Embed Code”.


Set your website access Return URL (required)

  1. Copy the embed code to provide an "Access" button to your event.  When the customer is admitted, they will be returned to this url.

 

Note - Must be a https link.


Place your embed code (required)

  1. The code should be placed on your Return URL, as it will be replaced with the player once admitted.

Add extra code (optional & recommended)

  1. When the user returns to your website, the player will become your livestream. You can define the following functions to decorate your page;

 

   function setBroadcastingStatus(status) {

        console.log("broadcasting: " + status); // boolean

    }

    function setBroadcastMessage(message) {

        console.log("broadcast message: " + message); // string

    }

    function setViewerCount(count) {

        console.log("current viewers: " + viewers) // int

    }

         

Visitors to your website will be able to admit their ticket, and be returned to your website URL to watch the livestream in-situ.