setBannerAdCall

The setBannerAdCall method enables control over sending the banner ad calls.


Syntax

sas.video.setBannerAdCall(isActive, element);

Parameters

Name Type Scope Description
isActive boolean required The requested state of the feature
element object optional The HTML element that should be updated (in the case of multiple players). It has to be a reference to the HTML element whose ID was passed during registration

Samples


sas.video.setBannerAdCall(true);
sas.video.setBannerAdCall(false, myPlayer);