<img height="1" width="1" style="display:none" src="https://www.facebook.com/tr?id=442498563201411&amp;ev=PageView&amp;noscript=1">

Connector for Video: Advanced Scenarios

img-integrations-other
Topics: Connector · Videos
Experience Level: Advanced
October 22, 2019 · 10 min read

 

 

 

 
 
 

In the following section, we outline some specific scenarios for using the LaterPay connector for videos that will be of interest to advanced audiences.

 

Scenario 1: Bundling Videos Together: allowing users to buy a number of videos in a single purchase

Objective: Sell two videos as a bundle, meaning that users can buy both of them in a single purchase
Video Tutorial: https://youtu.be/9LG4cVyl7cc

 

 

 

 

In this scenario we are going to be using the single purchasing option of the connector interface.

You first need to define which videos are going to be sold. Prepare the URLs of these videos - we are going to be inserting them into the single purchase creation interface. Moreover, don’t forget that you need to include the connector script on each webpage containing the video!

You then need to create a new single purchase. The match type will have to be Exact Path, and we will record each of the URL by adding them using the Add Path button.

At the end, you should see a purchase overlay appear on all the videos that you added. Purchasing one of the videos should now unlock both of them.

 


Scenario 2: Selling Two Videos Separately

Objective: Sell two videos separately, meaning that users will need to buy each video separately to see the content.
Video Tutorial: https://youtu.be/yba-Af6vY34
 

In this scenario we are going to be using the single purchasing option of the Connector interface to define two purchasing options, all mapping to single videos on the mock webpage. Don’t forget to include the connector for video script on each article for which a single purchasing option is created.

You then need to create a new single purchase for each article, inserting the URL where the corresponding video is located as an exact match, pricing the videos individually. At the end, you should see a purchasing overlay appear on both videos, however with different prices set for each, corresponding to the price set in the individual pricing section.
 

Scenario 3: Defining a Monthly and Six-Month Subscription for a Particular Video Type

Objective: Create a monthly and a six-monthly subscription for three articles in the same category
Video Tutorial: https://youtu.be/rcbKaTUtqCI
 

In this scenario, we are going to define two subscriptions for a specific video type. The main assumption here is that the videos uniquely share a common URL prefix - put another way, you can distinguish the category you want to apply these purchasing options to by their URL path. If this is not the case for you, you might look into later scenarios, which leverage ArticleIDs to select the videos included in the subscription.

First, we need to create a monthly subscription, specifying a title and a description. Then, we select “Path Prefix Match” as the Match Type option, as we want the subscription to be applied to all videos in this particular category. Then select the price and link the purchasing option to the template.

Finally, do not forget to make sure the web pages containing videos you want to apply your subscription paywall on are all loading the connector for video and the player script.
 

Scenario 4: Defining a Two Hour and a One Day Time Pass for a Particular Video Type

Objective: Create a 2 hour and a 1-day Time Pass for videos, all of which are in the same category
Video Tutorial: https://youtu.be/iY7ibbt-tOw
 

In this scenario, we are going to define two Time Passes for a specific video type. The main assumption here is that the videos uniquely share a common URL prefix- put another way, you can distinguish the category you want to apply these purchasing options to by their URL path. If this is not the case for you, you might look into later scenarios, which leverage ArticleIDs to select the articles included in the Time Passes.

First, we need to create a 2 hour Time Pass, specifying a title and a description. Then, we select “Path Prefix Match” as the Match Type option, as we want the subscription to be applied to all videos in this particular category. Then select the price and link the purchasing option to the template.

Finally, do not forget to make sure the web pages containing videos you want to apply your subscription paywall on are all loading the connector for video and the player script.
 

Scenario 5: Bundling Videos Together: A user can buy a number of videos as a single purchase (using ArticleID)

Objective: Three videos will be sold as a bundle, meaning that the users can buy all three of them in a single purchase
Video Tutorial: https://youtu.be/O1DyYNrrkL0


In this scenario, we will bundle videos together and sell them via ArticleID In-Page property.

To get started, you first need to add the ArticleID to each video, by inserting the articleID property in the LaterPay Connector section of your video player.

Once that is done, we proceed to creating a single purchasing option that references that ArticleID. To do this, click on New Single Purchase, type in a title, and select Article ID from Match Type options.

Add the ArticleID to the text box, specify the price and payment type, link to template, and your paywall will be created!
 

Scenario 6: Selling Videos Separately (Using ArticleID)

Objective: Three videos will be sold separately via ArticleID
Video Tutorial: https://youtu.be/JLk_IVvXHIo


In this scenario, we will be selling articles separately by associating individual single purchases with ArticleIDs defined uniquely for each video.

We first need to add a separate ArticleID to videos in the source code. Do not forget to insert the ArticleID property in the LaterPay Connector section of your video player.

Once that is done, you need to reference the ArticleIDs from the individual single purchasing options. First, create a single purchasing option for the first video, and reference the ArticleID for that video. Then repeat these steps for all the videos you intend to sell individually, creating a purchase overlay for all of them, but with individual pricing.
 

Scenario 7: Defining a yearly and a monthly subscription for a particular video type by using ArticleIDs

Objective: Create a yearly and a monthly subscription for two videos in two different categories using the ArticleID property
Video Tutorial: https://youtu.be/s8A0EFD4aVc
 

 

 

In this scenario, we are going to define two subscriptions for videos spanning two different categories: sports and the economy. The same video types will need to be linked with the same ArticleID, which will be referenced from the defined subscriptions. As a result, we need to add the In-Page configuration to the targeted videos, associating them with the ArticleID to be used.

After that is completed, we need to create a monthly subscription, specifying a title and a description. Then, we select “Article ID” as the Match Type option, inserting the ArticleID into the text box. To conclude, we select the price and link the purchasing option to the template.

Finally, do not forget to make sure the pages you want to apply your subscription paywall on are all loading the connector for video script and the video player script (In our case JW Player).
 

Scenario 8: Defining a 2 hour and a day Time Pass for a particular video type by using ArticleIDs

Objective: Create a 2 hour and a 1-day Time Pass for two videos, all of which are in the same category, using the ArticleID property
Video Tutorial: https://youtu.be/LleHx_wziNo


In this scenario, we are going to define two Time Passes for videos spanning two different categories. The same video types will need to be linked with the same ArticleID, which will be referenced from the defined Time Passes. As a result, we need to add the In-Page configuration to the targeted videos, associating them with the ArticleID to be used.

After that is completed, we need to create a two time passes, specifying a title and a description. Then, we select “Article ID” as the Match Type option, inserting the ArticleID in the text box. To conclude we select the price.

Finally, do not forget to make sure the pages you want to apply your subscription paywall on are all loading the connector for video script and the video player script (In our case JW Player).
 

Scenario 9: Combining the Purchasing Options: Defining a single purchase and a subscription

Objective: Create a subscription for multiple videos, and a single purchase on one video using ArticleID
Video Tutorial: https://youtu.be/9dhiefFuHek


In this video, we are going to define a subscription for two videos, and then proceed to define a single purchase for one video, using ArticleID. This is important when introducing multiple ArticleIDs for a single video.

We firstly need to define an ArticleID for the Subscription - let us call it “Subscription”. After all articles have this ID associated with them, we need to create a subscription offering for this ArticleID, resulting in subscriptions visible for these videos.

Now, we need to add an additional ArticleID to one of the videos that we’ve chosen to sell separately. Let us add the “SinglePurchase” ArticleID to the selection of ArticleIDs belonging to the respective video.
 

laterpayConnector: {
articleId: ['Subscription','SinglePurchase'],
video: {
mode: 'sell-video'
}
}


Then, by defining a new single purchase option with that ArticleID, you will see that it is added to the purchase options list for that video only

Finally, do not forget to make sure the pages you want to apply your subscription paywall on are all loading the connector for video script and the video player script (In our case JW Player).