Kaltura MediaSpace

DocsAssets › Kaltura MediaSpace

Last updated: 14 Oct 2019 / 1:50 PM / GMT

Our monetization platform features a fully developed integration with Kaltura MediaSpace.


Before you start

To use the Kaltura MediaSpace integration successfully, please make sure that you have already connected your InPlayer and Kaltura accounts.

If you haven’t done this and are not sure on how to go about doing it, make sure to read our guide.

Kaltura MediaSpace setup

First, go into your Kaltura MediaSpace admin panel.

You can access the admin panel by going to your MediaSpace portal and typing /admin at the end of the URL.

Ex. https://myportal.mediaspace.kaltura.com/admin

Next, from the left-hand menu, click on the Auth tab.

Scroll down to the enableMultiAuth option and set it to Yes.

Then, scroll down to the authMethods section. You will need to set up two authMethods.

You can do that by clicking on .

In the first authMethod, select SSO Gateway AuthN as the method and in the second, select Kaltura AuthN.

What this does, is to set up an admin lock to your channels page, so that only users that can log in as Admins will be able to add content.

The reason for enabling multiAuth is so that you can log in as administrator and configure your MediaSpace.
Once you set everything up, we recommend that you go back to the admin panel and disable multiAuth (set the enablemultiAuth setting to No).

Next, scroll down do the SSO section.

In the loginURL field, enter the InPlayer MediaSpace App URL, making sure to first edit the merchant-uuid part of the link with your InPlayer Account (Merchant) UUID and the domain-url part of the link with the MediaSpace domain URL:
https://mediaspace.inplayer.com/merchant-uuid?mediaspace=domain-url&login=true

Note: If you are using an InPlayer demo account, use this link instead:
https://staging-mediaspace.inplayer.com/merchant-uuid?mediaspace=domain-url&login=true

In the logoutURL enter the following, making sure to first edit the merchant-uuid part of the link with your InPlayer Account (Merchant) UUID and the domain-url part of the link with the MediaSpace domain URL:
https://mediaspace.inplayer.com/merchant-uuid?mediaspace=domain-url&logout=true

Note: If you are using an InPlayer demo account, use this link instead:
https://staging-mediaspace.inplayer.com/merchant-uuid?mediaspace=domainurl&logout=true

The Account (Merchant) UUID can be found in the Account details of your InPlayer dashboard. It is listed as Account UUID.

The domain-url should be the URL where your MediaSpace portal is hosted.

Next, from the left-hand menu, go to the Ssogroupsync tab.

Set the enabled option to Yes.
Then click on .

Name the new privilege offerIds and leave the valueMappingType as Use privilege value as group name.

Finally, click the  button at the bottom.

Adding a custom tab to your MediaSpace menu

To make sure your customers have quick access to the page where all your assets are embedded, you can add a custom tab in your MediaSpace menu.

To do this, go into your Kaltura MediaSpace admin panel. As we mentioned before, you can access the admin panel by going to your MediaSpace portal and typing /admin at the end of the URL.
Ex. https://myportal.mediaspace.kaltura.com/admin

Go to the Navigation tab, scroll all the way down and click on .

In the new entry, set the type to Link and give your tab a name. In the value field enter the InPlayer MediaSpace App URL, which is the same link you previously entered in the SSO settings of your MediaSpace admin panel:
https://mediaspace.inplayer.com/merchant-uuid?mediaspace=domain-url
Remember to first edit the URL with your InPlayer Account UUID and your MediaSpace domain URL.

Finally, click the  button at the bottom.

The new tab will now appear on your MediaSpace menu:

The final step is to protect your MediaSpace content by creating an asset.

Creating the asset

Log into your InPlayer dashboard and from the navigation bar on the left, click the Assets icon.

Click on .

Select the Video asset type.

Enter a Name for your asset. This will be the name of the asset in your InPlayer Dashboard. The customers won’t see this.

Click .

Under Choose pricing type, choose the login type for the asset.

    1. If Register / Login is needed for access is enabled, the customers will have to register an account before they can access the content.
      With this login type, the following two pricing types are available:

      • Paid – where the customers will have to register an account and then pay so they can see the content.
      • Data Capture – where the customers will have to register an account, but won’t have to pay anything. They will be granted access to the content as soon as they complete their registration.
    2. If Register / Login is needed for access is disabled, the customers will have not have to register an account. Instead, they will log in with a password or a code that they have received or purchased beforehand.
      The way in which you will be distributing or selling the codes or passwords is up to you.
      With this login type, the only available option to select is Code / Password.

Once you’ve set up the pricing type for the asset, click .

Hover over Mediaspace and click on .
Click .

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

The right side of the screen is where you can set everything up, and the left side provides a preview where you can see how the asset will look on your webpage.

Asset Preview

In the Asset Preview section, 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 email your customers will receive.

After setting everything up, make sure to click the button in the bottom right corner.

Price Options

In the Price Options section, click and set up the pricing.

The section is divided into two tabs: General Info and Additional Info.

Under General Info, set up the following:

  • In the Price description field, enter the price description that will appear on the paywall. Make it concise so that your customers know exactly what they are buying.
  • In the Payment type field, select one of the available payment options:
    ppv – This is a one-time payment which grants access that expires after the end of the specified period counted from the moment of purchase.
    The access period can be selected from the drop-down menu.
    You can pick one of the premade periods, or use the custom period option.
    When using the custom period option, you can specify the exact date and time at which the customers’ access will expire. This is very useful for doing presales since the customers’ access will expire on the date you’ve set up, regardless of when they’ve purchased their pass. An alternative way to set up presales is by using the Schedule start option from the Additional Info tab. More on that below.
    subscription – This is a recurring payment that is renewed automatically. Access is granted at each renewal.
    The renewal period can be selected from the drop-down menu.
    *Note that once you set the payment type for an asset, you cannot change it. You can change the other payment fields (access period duration, price, etc) but not the payment type. If you wish to set a new payment type, you will need to set up a new price option.
  • In the Amount field, enter the price.
    The minimum price is £2.99, or the equivalent converted amount in all other currencies.
    The currency can be selected from the drop-down menu. If you wish to use a currency that is not in the list, you can contact us at support@inplayer.com and we’ll make sure to add the currency for you asap. We support all currencies that are listed here.

Under Additional Info, you can set up the following settings, depending on whether you are setting up a ppv or a subscription price option.

For ppv:

  • Schedule start
    This is the date and time at which the customer’s access period will start after they’ve purchased the asset. Until that time, they will see a message informing them to come back on the scheduled date.
    This is a useful option for setting up presales. You can select the access period from the Payment type section in the General Info tab, and then set up when will that access period begin. It works for both the pre-defined access periods (24 hours, 48 hours, etc), and for the custom period.
    If you leave the Schedule start field blank, the customers will get their access right after purchasing.
  • Geo-restriction
    With this option, you can restrict the price option to specific countries.
    You can choose to either include (whitelist) or exclude (blacklist) a single country, or use a country set you have created previously.
    You can learn more about setting up country sets here.

For subscription:

  • Free trial
    With this, you can set up a free trial period.
  • Additional fee
    With this option, you can set up a one-time fee that will be charged when the customer purchases the subscription, as an addition to the regular subscription fee. The fee will only be charged once, together with the first subscription charge.
  • Geo-restriction
    With this option, you can restrict the price option to specific countries.
    You can choose to either include (whitelist) or exclude (blacklist) a single country, or use a country set you have created previously.
    You can learn more about setting up country sets here.

After setting everything up, make sure to click the button in the bottom right corner.

Asset content

In the Asset content section, enter your MediaSpace domain URL, without the https:// or http:// part.

After setting everything up, make sure to click the button in the bottom right corner.

Restrictions

In the Restrictions section, you can set up any geographic, domain, and/or age restrictions for the asset you wish to use.

You can learn more about setting up the restrictions here, here and here.
After setting everything up, make sure to click the button in the bottom right corner.

Linking the asset with a Kaltura Channel

Once you have your InPlayer asset, it is time to link it to a Kaltura Channel.

First, make sure that your channel is set as Private, so that only users who register an account and make a purchase will be able to see the content. This is very important.

Then, go to the InPlayer MediaSpace App URL, which is the same link you previously entered in the SSO settings of your MediaSpace admin panel:
https://mediaspace.inplayer.com/merchant-uuid?mediaspace=domain-url
Remember to first edit the URL with your InPlayer Account UUID and your MediaSpace domain URL.

Here, you will see the InPlayer asset you have just created.

You now need to create a user group.

There are two ways of doing this.

The first way is to simply click on the asset on your Mediaspace URL (shown in the above screenshot) and make a purchase. You can use a 100% discount code so you don’t have to actually pay anything, or you can contact us and we will make sure to refund the paid amount.
Upon you making this first purchase, a Kaltura user group will be automatically created.

The second way is to create the user group manually, using the KMS admin panel.
For this, go to your Kaltura MediaSpace admin panel and then to the MANAGE GROUPS tab.

Create a new user group by clicking on .

In Group Name and Group ID, fill in the Asset ID from the InPlayer Dashboard.
Leave the Add Users field blank.

To find the Asset ID, go to the Assets tab of your InPlayer Dashboard.
The Asset ID for your asset will be listed in the asset list.

Next, go to your Kaltura KMC dashboard.

Go to the CATEGORIES tab and click the channel you wish to link to the InPlayer asset.

On the left-hand menu, click Entitlements, scroll down to the bottom and click on Manage Users.

Click on .

Go back to the InPlayer Dashboard, go to the Assets tab, copy the Asset ID from the asset you wish to link to this channel and paste it in the Select End-Users filed.
Press Enter on your keyboard and then click .

And with that, you’re done!

Do the same steps for every individual channel you wish to monetize.

Customer Experience

A customer comes to your MediaSpace portal and clicks on the tab where you’ve embedded your assets:

Once there, they click on the asset they wish to purchase.

The paywall appears, they click on  and fill out the register form.

On the next screen, they select one of the available price options for that asset.

If there’s only one price option available, instead of the price selection screen, they are immediately forwarded to the final payment screen, where they enter their credit card or PayPal information.

They finish the purchase by clicking .

The following message appears, where the customer can choose to either purchase more channels, or go straight to their list of purchased channels.

To log into an already purchased channel, a customer just needs to go to the tab where you’ve embedded your assets, click on the asset they purchased, and log in.After logging in, they will be forwarded to their list of purchased channels.

Removing the InPlayer Integration

If you ever wish to remove the integration, just set back all the settings in the Kaltura admin panel  to their default states by doing the following:

In the Auth tab:
Under SSO, delete the loginurl and logouturl links.
Under Auth Adapters, set the authNAdapter and authZAdapter values to Kaltura AuthN.

In the Ssogroupsync tab:
Set the module to enabled: NO
Delete the whole offerIds privilege.

For more information about the ins and outs of Kaltura MediaSpace read Introduction to Authentication and Authorization Solutions 5.x.

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