Viewability

Endpoints

Method Description
.getContainerViewable() Returns the viewability of the player container
.getContainerPercentViewable() Returns the percent viewability of the player container
.getPercentViewable() Returns a number between 0 and 1 that represents the visible percentage of the player

If the player is completely out of the viewport or if it is in an inactive tab, 0 is returned.
.getViewable() Returns 1 if 50% of the player is in view and is in the active tab

If the viewability of the player it is below 50% or is in an inactive tab, 0 is returned.


Events

Method Description
.on('containerViewable') Event fired denoting the viewability of the player container
.on('viewable') Event fired denoting the viewability of the player

© 2007-2024 Longtail Ad Solutions, Inc.