Livestream

DocsAssets › Livestream

Last updated: 25 Mar 2019 / 3:51 PM / GMT

In the following guide, you’ll learn how to create a Livestream asset.
Before you continue, make sure you’ve connected your InPlayer and Livestream accounts. You can learn how to do that here.

Note that using our integration, you can only protect individual video posts that have been published on your Livestream events. You cannot protect a whole Livestream event with multiple posts, or a livestream.
To do this, please use the HTML/Text asset type, and put the embed code of the Livestream event inside the The Asset block.


Creating the asset

Go to the Assets tab of your InPlayer Dashboard and click on .

Select  Video.

Click on Livestream.

On the new page, you can set up your asset’s properties.

In the Name field at the top, enter a name for your asset.

In the Add Description block, set up the preview image, title and description, as well as the text for the BUY button. These will be the details that will appear on the actual asset preview when you embed it on your webpage.

Note that the Title will also appear on the final payment form on the paywall, as well as the notification emails your customers will receive.

In the Price Options block, set up the pricing.

  • In the Access Fee Description field, enter the price description that will appear on the paywall.
  • In the Access type field, select from the available price options:
    ppv is a one-time payment pass that expires after the end of the pre-specified period counted from the moment of purchase,
    subscription is a recurring payment that is renewed automatically,
    freemium unlimited gives free access to the video, without requiring a payment,
    ppv custom is a one-time payment pass that expires on a specified date.
  • In the Price field, enter the price.
  • In the Currency field, select the currency.

In the The Asset block, enter the Account ID, Event ID, and Video ID of the Livestream video you wish to use.
Read below on how to find these.

In the Restrictions block, set up any geographic or domain-based restrictions for the asset.

You can learn more about setting up the restrictions here and here.
When you’re done, click the  button at the top right.

How to find the Account ID, Event ID, and Video ID

Log into your Livestream account.

Open the video post you want to use, and click Share so you can get the Embed code for it.

Copy the embed code and paste it in a text editor so you can see it better.

You will find the Account ID, Event ID, and Video ID in the embed code.

The Account ID will be after the /accounts/ part of the code, the Event ID after the /events/ part, and the Video ID after the /videos/ part.

Embedding the asset

Once you’ve created your asset, it’s time to embed it on your website.
For this, click on the  button at the top right.

The pop-up with the embed codes will appear.

Here, you can select whether to use the Paywall V1 or Paywall V2 for the asset.
These are the two versions of our paywall.
We recommend using Paywall V2 because it is the most up-to-date version and it looks a bit more modern.

Next, you can select a branding theme.
Note that this option will only be available if you’ve already created a branding theme. Read this article for a guide on how to do this.
If you do not select a branding theme here, the default theme will be applied.

Next, you can select whether to use a custom OAuth app for the asset. This feature will group customers that register and log into the asset into one user group.
This is very useful if you have multiple websites and you want to group customers from each website into a separate group.
Read this article to learn more about our OAuth feature.

Once everything is set up, copy the InPlayer Scripts code and paste it into the <head> section of your webpage.

Then copy the Embed Code and paste it into the <body> section of your webpage.

With that, your asset will appear on your page, and you can start monetizing your content.

For any questions, don’t hesitate to contact us on support@inplayer.com.

We use cookies to analyse our traffic. We also share information about your use of our site with our analytics partners. See details