getContainerPercentViewable()

Returns the percent viewability of the player container



jwplayer().getContainerPercentViewable()

This method returns a number between 0 and 1 that represents the visible percentage of the player container (named <div> element), for example .18.

If the player container is completely out of the viewport or if it is in an inactive tab, 0 is returned.


© 2007-2024 Longtail Ad Solutions, Inc.