StreamLayer Integration
What you learn​
This article is intended for Roku developers integrating DIVA Player with the Deltatre video workflow. By the end of this article, DIVA Player will display StreamLayer pause ads, using a per-video VAST URL to source ad creatives.
note
StreamLayer is a third-party interactive overlay SDK that displays contextual advertisements alongside video playback. When integrated with DIVA Player, StreamLayer renders pause ads (for example, when the viewer pauses the video), using a per-video VAST URL to source ad creatives.
Before starting​
- Your video setup is working and you have a
<video id>and basic configuration for your platform. - You have a StreamLayer SDK key. Contact your StreamLayer account manager to obtain one.
- For each video, you have a StreamLayer event ID and a VAST URL. Obtain these values from your video engineering team.
To activate StreamLayer SDK, ensure both configuration sources are present:
- Settings: settings.streamLayerSetting
- Video metadata: VideoMetadata.streamLayer
Instantiation​
There's no code to add to the Basic instantiation code.