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 nameDescription
inviewTopOffsetSet a top offset in pixels for the sticky player or outstream unit
inviewBottomOffsetSet a bottom offset in pixels for the sticky player or outstream unit
inviewLeftOffsetSet a left offset in pixels for the sticky player or outstream unit
inviewRightOffsetSet a right offset in pixels for the sticky player or outstream unit
closeButtonVerticalOffsetSet a vertical offset in pixels for the sticky player or outstream unit close "X" button
closeButtonHorizontalOffsetSet 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%".