Set offset for sticky unit

Add an offset to the player or outstream unit when it's stickied to a corner of your choice

As many sites have certain functions at for example, the bottom of a site, you may wish for the player to sticky to the bottom of your site but above some HTML elements. This option will allow that by adding the following parameter to your embed code - inviewBottomOffset. You can also use the below parameters to further configure and tweak sticky player positioning.

Parameter name

Description

inviewTopOffset

Set a top offset in pixels for the sticky player or outstream unit

inviewBottomOffset

Set a bottom offset in pixels for the sticky player or outstream unit

inviewLeftOffset

Set a left offset in pixels for the sticky player or outstream unit

inviewRightOffset

Set a right offset in pixels for the sticky player or outstream unit

closeButtonVerticalOffset

Set a vertical offset in pixels for the sticky player or outstream unit close "X" button

closeButtonHorizontalOffset

Set a horizontal offset in pixels for the sticky player or outstream unit close "X" button

Example

$bos("DIV_ID", {
	"id":"AD_UNIT_ID",
	"width":"640",
	"height":"360",
	"inviewBottomOffset": "30px"
});

The above code will add a 30px bottom offset to the sticky player. Percentage values are also accepted for example: "inviewBottomOffset": "20%".