DaCast

DocsAssets › DaCast

Last updated: 01 Aug 2019 / 9:19 PM / GMT

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


Creating the asset

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

Select  Video.

Click on DaCast.

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 typefield, 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 Content ID of the video you wish to use.
Read below on how to find this.

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 Content ID

To get the Content ID for a video, just go to your DaCast account,  open the video and go to the Publish Settings tab.

You will find the Content ID in the embed code box on the right.

It will be near the beginning of the code, in the quotation marks right after the <scriptid= part.

It will look something like this:
52483_f_631924

Note that you should paste it in your InPlayer asset without quotation marks.

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