getSafeRegion()

Used to ensure that any visual assets don't overlap with JW Player controls.

Returns an object with the following:

ValueDescription
{x} numberStarting point on the X axis with JW Player. Will always be 0.
{y} numberStarting point on the Y axis with JW Player. Will always be 0.
height numberCurrent viewable container height, subtracting control bar height
width numberCurrent viewable container width
© 2007-2024 Longtail Ad Solutions, Inc.