webOS Web-based Implementation (Beta)

Sourcepoint's web-based webOS solution enables your organization to launch an OTT message campaign and collect end-user consent on webOS OTT devices.

Requirements

In order to successfully utilize Sourcepoint's webOS solution your organization will need to satisfy the following requirements:

  • OTT property with configured message campaign

  • webOS SDK (webOS IDE and emulator)

  • Access to Sourcepoint's webOS SDK

Sourcepoint's webOS solution is currently in closed beta. In order to participate and access the webOS SDK, please contact your Account Manager.

Import demo

When granted access to Sourcepoint's webOS SDK, clone the repo into your local workspace directory and import the repo into Project Explorer pane.

Configure client details

The cloned files will allow your organization to demo an OTT message tied to a Sourcepoint controlled property. In this section, we will cover the necessary steps to edit the details of the cloned files to surface your organization's OTT message campaign.

Replace the accountId and propertyHref parameters in the index.htmlfile with your account specific information.

<script type="text/javascript">
window._sp_queue = [];
window._sp_ = {
config: {
isOTT: true,
accountId: CLIENT_ACCOUNT_ID,
baseEndpoint: 'https://cdn.privacy-mgmt.com',
propertyHref: 'PROPERTY_NAME',
ccpa: { },
gdpr: { }
}
}
</script>
<script src="https://cdn.privacy-mgmt.com/unified/wrapperMessagingWithoutDetection.js"></script>

Run webOS emulator

Turn on your webOS emulator.

Once the emulator is running, navigate back to the webOS IDE to the Target Configuration pane and connect to the emulator machine.

  1. Name - Enter a name for the device. Choose a name that can easily identify the device.

  2. Host

    • TV device: IP address of the TV device.

    • Emulator: 127.0.0.1

  3. Port

    • TV device: 9922

    • Emulator: 6622

  4. Username

    • TV device: prisoner

    • Emulator: developer

You do not need to enter the Password and PrivateKey. When you use real TV, enable the Developer Mode before connecting the target.

With the connection to your emulator made, right-click the project folder in the Project Explorer window and click either Run As/Debug As > webOS Application.

If successful, your OTT message campaign will be surfaced in the simulator.