isFullyVisible property

bool isFullyVisible
getter/setter pair

Whether the video player widget is fully visible within the viewport.

  • Returns true if the entire player is currently visible on screen.
  • Returns false if the player is partially visible or not visible at all.

This can be useful for scenarios such as:

  • Pausing videos when scrolled out of view.
  • Auto-playing only when the player is completely visible.

Implementation

bool isFullyVisible = false;