Visibility API

React to changing player visibility

The Visibility API allows you to react to visibility changes of the player. Now you can improve your traction with the viewers engaging them when scrolling over the player. With this API you will be able to set which percentage of the full player must be on view for automatically starting to play your content.

In this example the player starts playing when more than 30% of the player is visible.

or simply scroll down manually to start the player.

or simply scroll up manually to pause the player.

Get Started